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

What is Framer? Join the Community
Return to index
Stijn Eversdijk
Posted Dec 03 - Read on Facebook

In my current prototype I have a scrollComponent which is the size of the screen. The first item in the scrollComponent is a large image. There is a click event attached to that image to navigate to a different screen. Whenever someone starts scrolling and lifts their finger, the click event is executed. Is there any way to not fire the click event when I scroll?

2 Comments

Jordan Robert Dobson

Inside the click event... The first line should be this

return if scroll.isDragging

Stijn Eversdijk

Thanks man! That solves it!

Read the entire post on Facebook