mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 12:46:55 +00:00
On Android, a mouse sends a click as DOWN, BUTTON_PRESS, BUTTON_RELEASE and UP. Gesture handler's Tap ignores DOWN and UP from a mouse and waits for the BUTTON events. Android delivers those through dispatchGenericMotionEvent, and RNGestureHandlerRootView forwarded only hover events from there. A mouse click on a Gesture.Tap row, such as a provider or model row in the wide model picker, never fired. Backport upstream react-native-gesture-handler#4265 (2.33.0) into the 2.32.0 patch: forward BUTTON_PRESS and BUTTON_RELEASE to the orchestrator, and start the LongPress timer on BUTTON_PRESS. Fixes #10744 Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>