Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FocusLock white list #37

Closed
theKashey opened this issue Aug 28, 2018 · 1 comment
Closed

FocusLock white list #37

theKashey opened this issue Aug 28, 2018 · 1 comment

Comments

@theKashey
Copy link
Owner

v1.12.0 introduced FreeFocusInside component, which could white-list any focus management library inside, but that's not enough.

As long there is no way to wrap some modals with this component - react-focus-lock should not interfere with any elements outside of it's root component.

  • add an option, to ignore focus events outside current react root
  • add an option to ignore any elements by a selector.
@theKashey theKashey changed the title FocusLock while list FocusLock white list Aug 28, 2018
@theKashey
Copy link
Owner Author

Released in 1.13.0

nickspaargaren pushed a commit to nickspaargaren/react-focus-lock that referenced this issue Dec 11, 2024
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

No branches or pull requests

1 participant