Daria Vishnyakova
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Daria Vishnyakova
-
-
Yes, exactly about snapping. I am trying to snap from section to section and for horizontal sections from item to item, but all time it goes further then on 1 item
-
39 minutes ago, Cassie said:
Hi there, welcome to the forums.
Can you elaborate more on this please? What is the strange behaviour?
Also - it may be helpful to look at the scrollTrigger demos.
https://greensock.com/st-demos
Hello, Cassie.
Strange behaviour of scroll is: when you scrolling sections go further. Screen can be scrolled to the middle of horizontal section, or just to the middle of the blank section (just one with text). When you scrolling horizontally it must appears new item from the right side, then next item from the right side, but now onScroll screen goes to the middle of horizontal section... this is strange -
Hello Green Sock community.
I have an issue with scroll behaviour, and I hope that you can help me to handle it.
Here is just a simple example of scroll, I was trying to give a user possibility to scroll only with his wheel (in one direction). The main idea was: when user scroll - the page must scrolls by sections, and when it is a horizontal scroll page must be scrolled by items (not partially, but fully).
Now I faced with a strange behaviour of animation when scrolling, I think that something is wrong with my code, but can't get what exactly.
Fake horizontal scroll with snap on sections and on items by scroll
in GSAP
Posted
hello, Jack. Thank you very much for help!!
Your decision looks so accurate.
My thoughts was enough only for this solution, and then pass an array to snap object