This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Dexter Wang
Posted Jan 17 - Read on Facebook

I was using scroll component to have an element switch states after the user scrolls to a certain Y value. If you scroll down fast, it's fine, but if you scroll up fast, the slide in animation is really slow. Anyone know what the problem is?



Dexter Wang

I found the solution. instead of using .onMove, I used .onScrollAnimationDidEnd. When I used .onMove, it kept recalculating the position of the element. onScrollAnimationDidEnd instead checks when the scrolling is finished before it makes a decision to appear or not appear. Hope this helps.

Read the entire post on Facebook