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