dillon1000/react
Commit
Browse files [Flare] Press includes button type (#16100)
1. Allow auxillary button clicks (i.e., middle mouse button) to trigger 'onPressStart' and 'onPressEnd', but never 'onPress'. 2. Report the button type – 'primary' or 'auxillary' – on the press event.
Changed paths2 files
First-parent comparisonpackages/react-events/src/dom/Press.js ModifiedM packages/react-events/src/dom/__tests__/Press-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…