Posts posted by Jose20
Tengo el mismo problema, tengo un proyecto en Vite y simplemente ScrollTrigger no funciona en absoluto y hace que mi aplicación se rompa ... No puedo obtener ninguna solución
Thank you, this worked for me.7 hours ago, akapowl said:
Yes, it is related to the overflowing content making the viewport adjust.
So you might have to add another wrapper and set to it.
Does that work for you?
Thank you, this worked for me.
Now, I would like to do a kind of phases of the moon, I have the following.
The moon is in a fixed position, but I would like to move to phase 2 the moon to change to the next phase:
I have not managed to do it, I thought about something like this:
But the following moons are still hidden, I can't get that "phase change" effect.
Greetings, I'm new to GSAP, I'm implementing a horizontal scroll, I'm following codepen's lead
It works well, however in my application when I inspect element this overflow happens
As you can see on the right side there is a black overflow.
The problem is caused by this code line in CSS:
Width equal to 600% Which without that statement, the scroll does not work.
I need to find a way to fix the error and not break my app when it opens on other screen sizes.
See the Pen XWmEoNg by GreenSock (@GreenSock) on CodePen
Problem with scrollTrigger overflow
Greetings community, I currently have a problem in which I try to make a horizontal scroll, I get everything to go well, but I have the disadvantage that the component that has that effect generates an Overflow-Y: Scroll, in my body label, does not make any sense, when refreshing the page for the first time it works well, if refreshment appears that overflow.
The next component is my component to which I apply the effect and my sass file which contains the styles.
Pd: I'm using reactjs 17v, and the latest version of gsap.
Pd2 : I cant replicate it in a pen, because the project is very large it would take me a long time and I have been struggling with this error for a long time
Attached image, you can see that a blank space is created on the right side of my container, in addition to the overflow-y style to the body ...