You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I tried to use the focus lock inside modals and stuck with a problem to focus element. Right now you need press the tab key twice to focus the first element in the modal. autoFocus was set to false since I don't want to focus any element until press the tab key. Is it possible to focus an element in modals with single tab?
We encountered the same issue after updating from version 2.9.2 to 2.13.2. We are experiencing even more unusual behavior: once a modal with FocusLock is mounted, the user has to press the Tab key approximately the same number of times as there are active elements on the page following the modal toggle button.
Hello. I tried to use the focus lock inside modals and stuck with a problem to focus element. Right now you need press the tab key twice to focus the first element in the modal. autoFocus was set to false since I don't want to focus any element until press the tab key. Is it possible to focus an element in modals with single tab?
Demo:
https://ping-roan.vercel.app/
Just click the "Open modal" button and try to focus any element.
Source code: https://github.com/One041/ping
The text was updated successfully, but these errors were encountered: