-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
I appreciate the effort you have put into making the focus trap library work in iframes and child windows, but unfortunately it seems like maybe the React version is not prepared for this?
I'm using the FocusTrap like <FocusTrap active={element !== null} focusTrapOptions={{document}}>
, where document
is the document of the child window (derived from element.ownerDocument
), but the focus trap still isn't trapping focus. When the same component is used in the main document, it works just fine.
Do you know what could be the cause of the issue?
Metadata
Metadata
Assignees
Labels
No labels