dillon1000/react
Commit
Browse files 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)
Changed paths3 files
First-parent comparisonpackages/react-events/docs/Press.md ModifiedM packages/react-events/src/Press.js ModifiedM packages/react-events/src/__tests__/Press-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…