dillon1000/react

Commit

React events: make nested Focus work as expected (#15421)

This patch makes a change to the Focus module so that it only reports
focus/blur on the host node that's a direct child of the event component. This
brings the expected behaviour in line with the browser default of focus/blur
events not bubbling for Pressable.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-events/src/Focus.js ModifiedM packages/react-events/src/__tests__/Focus-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…