dillon1000/react
Commit
Browse files React events: add onPressMove and pressRetentionOffset to Press (#15374)
This implementation differs from equivalents in React Native in the following ways: 1. A move during a press will not cancel onLongPress. 2. A move to outside the retention target will cancel the press and not reactivate when moved back within the retention target.
Changed paths3 files
First-parent comparisonpackages/react-events/README.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…