-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix: Change focus lock library #764
Conversation
Deploy preview for fundamental-react ready! Built with commit 08aefa8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Thanks for the acceptation @jbadan! |
@parostatkiem We will merge it, we were waiting to talk with the other fundamental-* libraries so that we stay as consistent as possible. |
Description
Change
focus-trap-react
library toreact-focus-lock
due to problems when it was used in Portal.One test was changed because it was performed on the first rendered
<div>
.react-focus-lock
renders 3<div>
elements (2 helpers and the main one) and the third one is the actual Modal.It looks like people are having similar issues:
focus-trap/focus-trap-react#27
fixes #765