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!
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
Kinda have the same question. Can you disable horizontal scrolling during vertical scrolling?
Andrea Pedrina maybe this one too