dillon1000/react
Commit
Browse files [react-events] Focus/FocusWithin responders with fallbacks (#16343)
Separate the PointerEvent and fallback implementations. Fix the unit tests to cover both PointerEvent and non-PointerEvent environments. Fix the focus-visible related callbacks to get called when keys other than "Tab" are used.
Changed paths6 files
First-parent comparisonpackages/react-events/src/dom/Focus.js ModifiedM packages/react-events/src/dom/__tests__/ContextMenu-test.internal.js ModifiedM packages/react-events/src/dom/__tests__/Focus-test.internal.js ModifiedM packages/react-events/src/dom/__tests__/FocusWithin-test.internal.js ModifiedM packages/react-events/src/dom/__tests__/Hover-test.internal.js ModifiedM packages/react-events/src/dom/test-utils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…