✅ Solved: Suppress Click Events During Swipe Gestures

Hi,

We’re running into an issue where click events are being triggered during horizontal swipe gestures.

Our interface includes a scrollable gallery of illustrated “frames” — each one acts as a visual portal to a different section of the app (image attached). These frames are interactive: when tapped, they trigger a transition or navigation event.

However, when users swipe horizontally to scroll through the gallery, a tap is sometimes unintentionally triggered on a frame, even though the intent was to swipe.

We’ve tried a few workarounds:

- Code-side filtering: Separating `pointerDown` and `pointerUp` and comparing scroll percentage changes.

- State machine logic: Attempted to capture gesture intent and block taps when swiping.

Despite these, we haven’t found a reliable method to distinguish a swipe from a tap.

Is there a recommended Rive-based approach to suppress click events during a swipe, or detect the user’s gesture intent reliably?

I've attached an image to this post that shows the gallery layout and how these frames are used in our UI.

Any guidance would be greatly appreciated!

Thanks, Tom

Designer @ Simply
tom.acco@hellosimply.com