A lot of people usually ask how to avoid firing a Click event when dragging a ScrollComponent. This is probably one of the simplest way to do it :)
Yeah, less cumbersome than this:
You can also use .isMoving in place of .isDragging :)
Balraj, very true :)
I still prefer .isDragging though, I like to be able to click when is on momentum or bouncing too.
I just want to say I've been tearing hair out over this for a few days, and this is magical. Thank you kind sir.
Rich Zarick - I make a point to scan through the docs every few days... I always find something new. Dig through framer on git hub too. You'll find lots of nice littler helpers Koen and team use. Like Utils.devicePixelRatio()
Yeah and if you find something we can improve, please let us know!