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

What is Framer? Join the Community
Return to index
Emmanuel Henri
Posted Jan 30 - Read on Facebook

Quick question is there a better solution (inside of framer) then this one?

Currently using onScrollEnd to show 2 buttons but they show as soon as I release the scroll instead of showing up at the end of my scroll...better way?

FYI I created a text layer that I wrap inside a ScrollComponent...


Jonas Treub

You'll need to check the velocity in onScrollEnd. If it's 0 you can show the layers, else wait for onAnimationEnd

Jonas Treub

Instead of onAnimationEnd you can also check the velocity in onMove and show the layers when the velocity goes below a certain threshold.

Jonas Treub

Here I use that technique for snapping

Read the entire post on Facebook