Skip to content

Conversation

devongovett
Copy link
Member

This ensures that focus is always visible if the autoFocus prop is set. It adds an autoFocus prop to the <FocusRing> component which is passed through to useFocusVisible and overrides the global focus visible state. Make sure to pass this prop through if you use FocusRing from now on.

@adobe-bot
Copy link

Build successful! View the storybook

Copy link
Member

@LFDanLu LFDanLu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adobe-bot
Copy link

Build successful! View the storybook

@dannify dannify merged commit 2eb7062 into master Dec 6, 2019
@dannify dannify deleted the autofocus-ring branch December 6, 2019 10:33
devongovett pushed a commit that referenced this pull request Jul 25, 2024
* setup storybook docs

* add intro page

* Remove Picker autodocs

* add syntax highlighting to code snippet

* add missing autodocs

* Remove intro docs for now

* remove extra args from Dialog

* clean up source formatting

Co-authored-by: Reid Barber <reid@reidbarber.com>
Co-authored-by: Rob Snow <rsnow@adobe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants