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

What is Framer? Join the Community
Return to index
Jon Arnold
Posted Mar 10 - Read on Facebook

Is there a way to find out how fast/hard a user scrolls (momentum of the scrollview after the release of the finger)?

I want to make the scrollview scroll to a certain position when the scrolling wasn't that fast/hard.

Thanks for your help!

3 Comments

Jonas Treub

scroll.content.onDragEnd ->
print scroll.velocity

Jon Arnold

Jonas Treub and what if i want to check if the user has released his finger from scrolling? I want to this within the scroll.on Events.Scroll not in the scroll.content.onDragEnd

Jonas Treub

The weather example might have the info you need: http://framerjs.com/examples/preview/#weather-app.framer

Read the entire post on Facebook