Skip to content

LongPressGestureHandler discrepancy between web and mobile implementations #1097

@connectdotz

Description

@connectdotz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions