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

What is Framer? Join the Community
Return to index
Andy Jakubowski
Posted Nov 17 - Read on Facebook

UPDATE: Solved—block interaction if your scroll content is moving (see comments). A Framer update is coming to improve this as well.

————

Hey Framer friends, do you know a way to prevent a Tap Event from being triggered when scrolling in a Scroll Component?

I am building a calendar and I only want a day to be selected when I explicitly tap a day—not if I scroll slowly and release.

The video (kind of) illustrates the issue: quick scroll/flick does not trigger a tap event, but a slow scroll and release does.

Any hints on how to solve this? Thanks a lot!

3 Comments

Jordan Robert Dobson

That's a tricky one since you have to wait for it to completely stop scrolling even if it's fractions of a pixel. But... In your click events you can add a conditional if statement.

return if scroller.content.isMoving

Leon Kosters

Kinda have the same question. Can you disable horizontal scrolling during vertical scrolling?

Christie Gettler Tarazon

Andrea Pedrina maybe this one too

Read the entire post on Facebook