dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonpackages/react-events/src/Press.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…