dillon1000/react

Commit

Fix longpress in experimental Press event module (#15246)

The 'longpress' event is dispatched during a press interaction, rather than
after it has ended.

The 'longPressCancelsPress' prop can be used to prevent 'press' being
dispatched if 'longpress' has already been dispatched.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-events/src/Press.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…