dillon1000/react

Commit

[Flare] Fix isPressWithinResponderRegion logic (#15808)

Compare the viewport-relative coordinates of getBoundingClientRect with those
of the event's client{X,Y} values. This fixes press within scrollable nodes.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-events/src/Press.js ModifiedM packages/react-events/src/__tests__/Press-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…