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

What is Framer? Join the Community
Return to index
Lennart Schoors
Posted Apr 20 - Read on Facebook

Running into issues with clickable layers inside a scrollComponent. Clicks are fired everytime you release the scroll on that layer. How do you prevent that?


Lennart Schoors


Benjamin Den Boer

Hey Lennart Schoors - sorry for the late response! Let's see. You can quite easily set this up by enabling "ignoreEvents" on the layer whenever the ScrollComponent is moving (Events.Move). This includes any momentum & bounce animations. Then, you can listen to the "ScrollAnimationDidEnd" event to set it to false again.

See this little demo:
Hope this helps! :-)

Read the entire post on Facebook