Welcome to the Liquify Community

Updated last week

Should GSAP work without any adjustments?

Hi,

Ich use GSAP for the fade in of the element on the website. The problem is, that when I scroll through some pages, some content doesn´t load with GSAP. But when I open the live webflow site without the conversation, it´s working. Does somebody know if I need to change something?
Or does somebody know an alternative the have the fade in effect when scrolling. I already had the native fade un animamtion from webflow, but it was very buggy, so maybe there is another solution?

Here a video to show: https://drive.google.com/file/d/1se2VYMPJMasZdOatwsVI7AR6Alh5Te_-/view?usp=sharing
And this is my code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>

/* Initial styles for load animations /[animation="load"] { opacity: 0; transform: translateY(40px);}/ Initial styles for scroll animations */
[animation="scroll"] {
opacity: 0;
transform: translateY(40px);
}

<script>
gsap.registerPlugin(ScrollTrigger);

// On page load animations
document.addEventListener("DOMContentLoaded", () => {
gsap.to('[animation="load"]', {
opacity: 1,
translateY: 0,
duration: 1,
stagger: 0.25,
ease: 'power2.out',
});
});

// Scroll into view animations
gsap.utils.toArray('[animation="scroll"]').forEach((element) => {
gsap.fromTo(element,
{ opacity: 0, translateY: 40 },
{
scrollTrigger: {
trigger: element,
start: 'top 98%',
end: 'bottom 2%',
},
translateY: 0,
opacity: 1,
duration: 0.8,
ease: 'power2.out',
}
);
});
</script>
J
c
j
31 comments
On what elements are the [animation="scroll/load"] attributes? Can you inspect the Shopify page and look wether they are there? Or send the link if you want :)
@Jan they are on div elements, not on elements, that have li tags.. the links is: gooddesk.de
On some devices it´s working, on other it´s not working. On my 35" Screen it´s working, on the MacBook Screen it´s not working always...
Hmm, they seem to be all working when I visit the site. There might be a problem with the triggers depending on the breakpoint, but I would nee to take a deeper look when I have time
Yeah on some devices it‘s working without any problem, on other devices not. But thank you 🙂
@Jan do you have any update? @consti or did you solved the issue?
Unfortunately not
Hi @consti, we are currntly launching some big projets. Jan hopfully has time in the next days. Thanks for your patience
No problem, thankyou 🙏
Hey @consti, do you still need help with this? I was a bit busy the last weeks, sorry :)
If you have time, then Yes please
Did you change anything to the animations? It works fine for me on any browser/device. Or do you know how I can reproduce the missing animations? :)
It´s also working on my external display (34") and MacBook 16". The Cooperate page (https://www.gooddesk.de/pages/cooperate) doesn´t work on my ipad if I scroll faster and somebody told me on his 14" MacBook some parts are also not working.
Can you try to listen to the window.load Event?
So instead of document.addEventListener("DOMContentLoaded") try window.addEventListener("load").

If the reason for the inconsitencies are layout shifts, then this should already help
I think I found the error, but I need to try on other devices too. I had a code, that changed the opacity attributes
But I am not sure, I need to try
@Jan I tested it, but it doesn´t work. I just found out, that i can´t see the section under 'Haben Sie noch Frage?' on my 16" MacBook...
Here the link: https://xuhenkysgdm7fedx-57626296517.shopifypreview.com/pages/cooperate
Attachment
Bildschirmfoto_2024-12-29_um_18.17.32.png
Can you set the markers to true and look, whether they are at the correct position? It still feels like a trigger problem
@Jan I activated the markers - is this correct, because I never worked with them before? https://w5t6hizheaohot7x-57626296517.shopifypreview.com
Jup, with the markers you can clearly see that there is some sort of shift happening. When you scroll down on your laptop, you will see the markers being far below the actual section. I saw that you have the window load event, but only on the other animation. Can you try it like this:

gsap.registerPlugin(ScrollTrigger);

// On page load animations
window.addEventListener("load", () => {
gsap.to('[animation="load"]', {
opacity: 1,
translateY: 0,
duration: 1,
stagger: 0.25,
ease: 'power2.out',
});

// Scroll into view animations
gsap.utils.toArray('[animation="scroll"]').forEach((element) => {
gsap.fromTo(element,
{ opacity: 0, translateY: 40 },
{
scrollTrigger: {
trigger: element,
start: 'top 98%',
end: 'bottom 2%',
markers: true, // Add markers to visualize trigger points
},
translateY: 0,
opacity: 1,
duration: 0.8,
ease: 'power2.out',
}
);
});
});
And to prevent content layout shift, you can also try to set a fixed height or ratio to the images in the grid or other elements
I chaged it and now the markers are not jumping anymore 🙏 . but for example this element takes longer to show than the others.
Might be because of SwiperJS initialising after GSAP? Can you try and give the elements some fixed min height just to test?
The Review Section?
Jup, my guess is that the section has a different height before SwiperJS sets the slides per view and pushes the slides together
On the wrapper or on the items?
Doesn't really matter, as long as the height is enough to get rid of a potential layout shift
But it should be inside the animation wrapper or the animation wrapper itself
Attachment
image.png
I set .slider-main_inner-wrapper to 100vh
but it´s the same
Hmm, at this point I'm kind of out of ideas :/
But thank you 🙂
Add a reply
Sign up and join the conversation on Discord
/* Initial styles for load animations /[animation=\"load\"] { opacity: 0; transform: translateY(40px);}/ Initial styles for scroll animations */[animation=\"scroll\"] { opacity: 0; transform: translateY(40px);}","answerCount":31,"upvoteCount":0,"datePublished":"2024-12-03T10:30:49.222Z","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"},"suggestedAnswer":[{"@type":"Answer","text":"On what elements are the [animation=\"scroll/load\"] attributes? Can you inspect the Shopify page and look wether they are there? Or send the link if you want :)","upvoteCount":0,"dateCreated":"2024-12-03T10:42:03.838Z","datePublished":"2024-12-03T10:42:03.838Z","dateModified":"2024-12-03T10:42:03.838Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#9536812c-a3dd-4df5-994b-5f0406befb2a","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"@Jan they are on div elements, not on elements, that have li tags.. the links is: gooddesk.deOn some devices it´s working, on other it´s not working. On my 35\" Screen it´s working, on the MacBook Screen it´s not working always...","upvoteCount":0,"dateCreated":"2024-12-03T13:09:44.686Z","datePublished":"2024-12-03T13:09:44.686Z","dateModified":"2024-12-03T13:10:02.328Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#f5a5fdda-60df-42ef-8dd1-eacd6612d40e","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Hmm, they seem to be all working when I visit the site. There might be a problem with the triggers depending on the breakpoint, but I would nee to take a deeper look when I have time","upvoteCount":0,"dateCreated":"2024-12-03T16:09:42.352Z","datePublished":"2024-12-03T16:09:42.352Z","dateModified":"2024-12-03T16:09:42.352Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#eb0a28ec-4c46-4699-8b7f-598734562a68","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"Yeah on some devices it‘s working without any problem, on other devices not. But thank you 🙂","upvoteCount":0,"dateCreated":"2024-12-03T16:10:26.510Z","datePublished":"2024-12-03T16:10:26.510Z","dateModified":"2024-12-03T16:10:26.510Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#9424c2a3-7fe2-464e-bc9f-eff0d353c210","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"@Jan do you have any update? @consti or did you solved the issue?","upvoteCount":0,"dateCreated":"2024-12-09T20:10:52.187Z","datePublished":"2024-12-09T20:10:52.187Z","dateModified":"2024-12-09T20:10:52.187Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#48d5742c-5e70-46a2-8320-57fef85781d6","author":{"@type":"Person","url":"https://liquify.hall.community/members/9198b265-c813-4ed7-89ba-4025d177dc62","name":"jonas.halbstark","identifier":"9198b265-c813-4ed7-89ba-4025d177dc62","image":"https://cdn.discordapp.com/avatars/947621552478904320/9741d807d28f33e26a3a3b01c121c60f.webp?size=256"}},{"@type":"Answer","text":"Unfortunately not","upvoteCount":0,"dateCreated":"2024-12-09T20:15:11.284Z","datePublished":"2024-12-09T20:15:11.284Z","dateModified":"2024-12-09T20:15:11.284Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#aabdfbc2-bb1f-4b60-aa24-24cda33b1d78","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Hi @consti, we are currntly launching some big projets. Jan hopfully has time in the next days. Thanks for your patience","upvoteCount":0,"dateCreated":"2024-12-16T09:56:11.039Z","datePublished":"2024-12-16T09:56:11.039Z","dateModified":"2024-12-16T09:56:11.039Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#fcdb12e4-0884-48f1-9e37-5188584ae605","author":{"@type":"Person","url":"https://liquify.hall.community/members/9198b265-c813-4ed7-89ba-4025d177dc62","name":"jonas.halbstark","identifier":"9198b265-c813-4ed7-89ba-4025d177dc62","image":"https://cdn.discordapp.com/avatars/947621552478904320/9741d807d28f33e26a3a3b01c121c60f.webp?size=256"}},{"@type":"Answer","text":"No problem, thankyou 🙏","upvoteCount":0,"dateCreated":"2024-12-16T10:21:49.441Z","datePublished":"2024-12-16T10:21:49.441Z","dateModified":"2024-12-16T10:21:49.441Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#0915918d-ef2f-4195-9c0a-f08dc0ed61e7","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Hey @consti, do you still need help with this? I was a bit busy the last weeks, sorry :)","upvoteCount":0,"dateCreated":"2024-12-23T17:30:04.682Z","datePublished":"2024-12-23T17:30:04.682Z","dateModified":"2024-12-23T17:30:04.682Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#a91bf7fd-df78-4af1-8ddb-911add72eb8a","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"If you have time, then Yes please","upvoteCount":0,"dateCreated":"2024-12-23T17:30:53.002Z","datePublished":"2024-12-23T17:30:53.002Z","dateModified":"2024-12-23T17:30:53.002Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#a63c81df-9656-4260-9912-e1227eedfea7","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Did you change anything to the animations? It works fine for me on any browser/device. Or do you know how I can reproduce the missing animations? :)","upvoteCount":0,"dateCreated":"2024-12-23T17:40:26.184Z","datePublished":"2024-12-23T17:40:26.184Z","dateModified":"2024-12-23T17:40:26.184Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#26207a87-1795-404c-9e06-3f8624237b40","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"It´s also working on my external display (34\") and MacBook 16\". The Cooperate page (https://www.gooddesk.de/pages/cooperate) doesn´t work on my ipad if I scroll faster and somebody told me on his 14\" MacBook some parts are also not working.","upvoteCount":0,"dateCreated":"2024-12-23T19:35:40.016Z","datePublished":"2024-12-23T19:35:40.016Z","dateModified":"2024-12-23T19:35:41.013Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#3504d752-8f9e-48a0-9d2e-e078ffafc47d","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Can you try to listen to the window.load Event? So instead of document.addEventListener(\"DOMContentLoaded\") try window.addEventListener(\"load\"). If the reason for the inconsitencies are layout shifts, then this should already help","upvoteCount":0,"dateCreated":"2024-12-24T00:16:58.600Z","datePublished":"2024-12-24T00:16:58.600Z","dateModified":"2024-12-24T00:16:58.600Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#f3547ff6-be62-46a7-8468-a61164915132","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"I think I found the error, but I need to try on other devices too. I had a code, that changed the opacity attributes","upvoteCount":0,"dateCreated":"2024-12-24T10:51:05.709Z","datePublished":"2024-12-24T10:51:05.709Z","dateModified":"2024-12-24T10:51:05.709Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#77f8f9d2-23b2-400a-a9a8-811833fdd276","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"But I am not sure, I need to try","upvoteCount":0,"dateCreated":"2024-12-24T10:51:10.511Z","datePublished":"2024-12-24T10:51:10.511Z","dateModified":"2024-12-24T10:51:10.511Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#c8f66795-9c20-46de-9806-e2698f86293c","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"@Jan I tested it, but it doesn´t work. I just found out, that i can´t see the section under 'Haben Sie noch Frage?' on my 16\" MacBook...Here the link: https://xuhenkysgdm7fedx-57626296517.shopifypreview.com/pages/cooperate","upvoteCount":0,"dateCreated":"2024-12-29T17:18:38.920Z","datePublished":"2024-12-29T17:18:38.920Z","dateModified":"2024-12-29T17:18:40.243Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#024b2e6d-4bfd-4be0-a954-f0e5b26193c8","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Can you set the markers to true and look, whether they are at the correct position? It still feels like a trigger problem","upvoteCount":0,"dateCreated":"2025-01-02T22:53:38.713Z","datePublished":"2025-01-02T22:53:38.713Z","dateModified":"2025-01-02T22:53:38.713Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#ae699577-d593-499a-9e59-1cde4fbf1731","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"@Jan I activated the markers - is this correct, because I never worked with them before? https://w5t6hizheaohot7x-57626296517.shopifypreview.com","upvoteCount":0,"dateCreated":"2025-01-03T13:06:29.630Z","datePublished":"2025-01-03T13:06:29.630Z","dateModified":"2025-01-03T13:06:30.574Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#f34ab83e-7ee6-4942-92e4-d9a020300bca","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Jup, with the markers you can clearly see that there is some sort of shift happening. When you scroll down on your laptop, you will see the markers being far below the actual section. I saw that you have the window load event, but only on the other animation. Can you try it like this:gsap.registerPlugin(ScrollTrigger);// On page load animationswindow.addEventListener(\"load\", () => { gsap.to('[animation=\"load\"]', { opacity: 1, translateY: 0, duration: 1, stagger: 0.25, ease: 'power2.out', }); // Scroll into view animations gsap.utils.toArray('[animation=\"scroll\"]').forEach((element) => { gsap.fromTo(element, { opacity: 0, translateY: 40 }, { scrollTrigger: { trigger: element, start: 'top 98%', end: 'bottom 2%', markers: true, // Add markers to visualize trigger points }, translateY: 0, opacity: 1, duration: 0.8, ease: 'power2.out', } ); });});","upvoteCount":0,"dateCreated":"2025-01-03T16:44:51.994Z","datePublished":"2025-01-03T16:44:51.994Z","dateModified":"2025-01-03T16:44:51.994Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#2eb3a9b4-c34e-49a2-9877-70b5ecfacaea","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"And to prevent content layout shift, you can also try to set a fixed height or ratio to the images in the grid or other elements","upvoteCount":0,"dateCreated":"2025-01-03T16:46:01.317Z","datePublished":"2025-01-03T16:46:01.317Z","dateModified":"2025-01-03T16:46:01.317Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#cde1c7fc-a85a-4a87-9da2-6259a6973a1e","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"I chaged it and now the markers are not jumping anymore 🙏 . but for example this element takes longer to show than the others.","upvoteCount":0,"dateCreated":"2025-01-03T16:54:17.953Z","datePublished":"2025-01-03T16:54:17.953Z","dateModified":"2025-01-03T16:54:17.953Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#856cc1da-c8e5-46d3-b5af-1e7692cfef7a","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Might be because of SwiperJS initialising after GSAP? Can you try and give the elements some fixed min height just to test?","upvoteCount":0,"dateCreated":"2025-01-03T19:31:12.138Z","datePublished":"2025-01-03T19:31:12.138Z","dateModified":"2025-01-03T19:31:12.138Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#5bcc7663-b130-4d2b-902c-f06f65c75402","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"The Review Section?","upvoteCount":0,"dateCreated":"2025-01-03T19:33:08.224Z","datePublished":"2025-01-03T19:33:08.224Z","dateModified":"2025-01-03T19:33:08.224Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#1e266063-2545-4562-b4d4-74da8a405965","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Jup, my guess is that the section has a different height before SwiperJS sets the slides per view and pushes the slides together","upvoteCount":0,"dateCreated":"2025-01-03T19:34:28.304Z","datePublished":"2025-01-03T19:34:28.304Z","dateModified":"2025-01-03T19:34:28.304Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#be93a24b-c543-4fad-a126-3acf2444eb23","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"On the wrapper or on the items?","upvoteCount":0,"dateCreated":"2025-01-03T19:35:15.991Z","datePublished":"2025-01-03T19:35:15.991Z","dateModified":"2025-01-03T19:35:15.991Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#892bc671-298f-4cb7-a217-256665fd6fa6","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Doesn't really matter, as long as the height is enough to get rid of a potential layout shift","upvoteCount":0,"dateCreated":"2025-01-03T19:35:50.640Z","datePublished":"2025-01-03T19:35:50.640Z","dateModified":"2025-01-03T19:35:55.595Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#375a925b-e627-41ca-a7a2-009a27732e56","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"But it should be inside the animation wrapper or the animation wrapper itself","upvoteCount":0,"dateCreated":"2025-01-03T19:36:40.996Z","datePublished":"2025-01-03T19:36:40.996Z","dateModified":"2025-01-03T19:36:40.996Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#f2170c32-b275-4cf9-bbab-1b475f5450bf","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"I set .slider-main_inner-wrapper to 100vh","upvoteCount":0,"dateCreated":"2025-01-04T15:26:36.539Z","datePublished":"2025-01-04T15:26:36.539Z","dateModified":"2025-01-04T15:26:36.539Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#fb9bb858-7fee-4992-936d-7c1ea8155be5","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"but it´s the same","upvoteCount":0,"dateCreated":"2025-01-04T15:26:41.282Z","datePublished":"2025-01-04T15:26:41.282Z","dateModified":"2025-01-04T15:26:41.282Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#7daefe0e-442b-4be6-930e-ed1ca56dc1d1","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}},{"@type":"Answer","text":"Hmm, at this point I'm kind of out of ideas :/","upvoteCount":0,"dateCreated":"2025-01-09T16:34:32.411Z","datePublished":"2025-01-09T16:34:32.411Z","dateModified":"2025-01-09T16:34:32.411Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#a7bd3e6c-6edf-475b-bd18-5d90a891e6be","author":{"@type":"Person","url":"https://liquify.hall.community/members/b4493d12-c7f6-4370-8c1b-bca956985c92","name":"Jan","identifier":"b4493d12-c7f6-4370-8c1b-bca956985c92","image":"https://cdn.discordapp.com/avatars/547767203345334283/0120b0d0a42e96a26c61006e1380bc03.webp?size=256"}},{"@type":"Answer","text":"But thank you 🙂","upvoteCount":0,"dateCreated":"2025-01-09T16:44:29.523Z","datePublished":"2025-01-09T16:44:29.523Z","dateModified":"2025-01-09T16:44:29.523Z","url":"https://liquify.hall.community/should-gsap-work-without-any-adjustments-MtNq12C4CkJ5#6ae8d4e5-075f-4b4b-a2ea-16bff27e48f2","author":{"@type":"Person","url":"https://liquify.hall.community/members/9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","name":"consti","identifier":"9ff01750-9cd7-44bc-abd4-0c46bf19eb3f","image":"https://cdn.discordapp.com/avatars/701432878445363300/44f62a3538cae701b18f47cf9155a4b7.webp?size=256"}}]}}