Skip to content

Review useDragHold and useLongPress for async event handler improvements #3080

@raineorshine

Description

@raineorshine

Let's take a closer look at useDragHold and useLongPress to see if I can apply the changes that were discarded in https://github.com/cybersemics/em/pull/3011/files#diff-a2cf6931de2064f99f9e1ff56cf6db4d9b85fab750a34d61ea5c956c6a688c3f. The goal is to reduce the number of surprise asynchronous event handlers that run during/after long press. This should help make long press behaviors more predictable and easier to maintain.

Metadata

Metadata

Assignees

Labels

refactorRefactor without changing behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions