dillon1000/react

Commit

React Events: fix cancel events for Press (#15563)

* Fixes a bug in the cancellation logic. The cancel events are now correctly listened to on the root.
* Fixes cancellation in Safari by using the dragstart event as a proxy for cancellation (i.e., the event dispatched when move-during-press occurs on an anchor tag)
Browse files
Changed paths3 files
First-parent comparison
M packages/react-events/docs/Press.md ModifiedM packages/react-events/src/Press.js ModifiedM packages/react-events/src/__tests__/Press-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…