Closed cengizilhan closed 1 year ago
We are unable to determine at which viewport -height the scroll trigger will start.
https://codepen.io/sawacrow/pen/abQGoPR
If you delete the "first-section", the animation cannot work. Because the scroll trigger needs to descend from the top to work.
It can't start from %0 because I made an animation similar to this in the header.
ScrollTrigger should have options for when to start, for example: When above the Object, When below the object, Like in the middle of the object.
There is such an option in gsap.js and it is very useful. https://greensock.com/docs/v3/Plugins/ScrollTrigger start: "top top",
...
Type: Feature Request
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.
Overview
We are unable to determine at which viewport -height the scroll trigger will start.
Type
Motivation
https://codepen.io/sawacrow/pen/abQGoPR
If you delete the "first-section", the animation cannot work. Because the scroll trigger needs to descend from the top to work.
It can't start from %0 because I made an animation similar to this in the header.
ScrollTrigger should have options for when to start, for example: When above the Object, When below the object, Like in the middle of the object.
There is such an option in gsap.js and it is very useful. https://greensock.com/docs/v3/Plugins/ScrollTrigger start: "top top",
...
Labels
Type: Feature Request
label to this issue.