-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
LongPressGestureHandler discrepancy between web and mobile implementations #1097
Copy link
Copy link
Closed
Labels
Platform: Cross platform inconsistencyThis issue presets the library behavior inconsistency between platformsThis issue presets the library behavior inconsistency between platformsPlatform: Web
Description
LongPressGestureHandler on mobile (ios/android) is implemented as a continuous gesture, i.e. we can drag it around after long-press activated. However, on the web, it is implemented as a PressGestureHandler, which is a DiscreteGestureHandler. Judging from onRawEvent: it seems to only fire INPUT_END event when the gesture is released, i.e. it ignores all gesture movements.
Not sure if this behavior discrepancy is intended, figure I should ask before attempting the fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Platform: Cross platform inconsistencyThis issue presets the library behavior inconsistency between platformsThis issue presets the library behavior inconsistency between platformsPlatform: Web