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
Modals should trap focus and keep the focus inside. If the focus is on something that is removed from the DOM the focus does not stay inside the modal, but is moving to the body and the modal is kept open while navigation is outside of it.
Bug report
Modals should trap focus and keep the focus inside. If the focus is on something that is removed from the DOM the focus does not stay inside the modal, but is moving to the body and the modal is kept open while navigation is outside of it.
Current Behavior
See video here
Expected behavior
Modals should keep focus in it no matter what.
Reproducible example
https://wk3r6u-5173.csb.app/
Suggested solution
Whatever happens - keep the focus on the modal
Your environment
The text was updated successfully, but these errors were encountered: