dillon1000/react

Commit

React Events: add onFocusVisibleChange to Focus (#15516)

Called when focus visibility changes. Focus is only considered visible if a
focus event occurs after keyboard navigation. This provides a way for people to
provide visual focus styles for keyboard accessible UIs without those styles
appearing if focus is triggered by mouse, touch, pen.
Browse files
Changed paths4 files
First-parent comparison
M packages/react-events/docs/Focus.md ModifiedM packages/react-events/src/Focus.js ModifiedM packages/react-events/src/__tests__/Focus-test.internal.js ModifiedM packages/react-events/src/__tests__/Press-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…