rlaydtjs
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by rlaydtjs
-
-
I'm missing some code from the React code migration. There are a lot of things to do, but it's hard to execute right away. Thanks for the guide.
If anyone has a better way, please let me know. I'll review it positively! -
So you can't have rewind and expand all at once without creating multiple ScrollTriggers.
-
GSAP is pretty awesome. I have a great site thanks to them.
I'm having some issues, can you help?
1. Currently, if you look at my 'codepen' example, the .box element is zooming right in upon entering start. But I want to increase the exposure time of 'pinned text'. For example, I want the boxelement to zoom in when I scroll about 100px after the 'pinned text' is pinned.
2. Is there any way to revert to the original size when scrolling up from the end point without using the 'scrub' animation?
3. For lack of a better word, I want to increase the distance between the 'start' and 'end' points. In other words, I want the box to get bigger, and I want to scroll more before moving on to the next section.
4. And the biggest problem is that when the user scrolls fast, they can easily pass by section 2. Is there any way to solve this?
Unlike the 'codepen' example, the real project is using React and UseGSAP(), so I couldn't find a way to solve it from the documentation alone, so I left a question. Thanks.See the Pen YzMOorG by seankim1111 (@seankim1111) on CodePen
-
I want to have different CSS variations for each item element in a horizontal slider.
For example, if my intentions are correct, the border radius of the first item should be 32px to 0px when scrolling.See the Pen vYMdEQx by seankim1111 (@seankim1111) on CodePen
disable on mobile in React with useGSAP()
in GSAP
Posted
Im declaring a constant named viewportWidth and assigning it the value of the current inner width of the window.
However, this code is only working when refreshing on mobile.
I don't see any React examples for 'matchMedia()', is it possible to use it in React?