Skip to main content
B
23d ago

Scroll needs mouse up protection

When scrolling and your finger ends up outside of the scroll area, then the finger is released, it should only send a mouse up event to the scroll area only (to release the mouse and stop scrolling) but it should not send a mouse up anywhere else, otherwise a button press can be triggered.

You can see the effect in the video below. When scrolling, suddenly the menu disappears and the main app is shown. That is because the blue button above the scroll area is accidentally clicked due to a swipe (scroll), then mouse up event outside of the scroll area.

Join the discussion
Join Rive to reply J