Skip to content

Preventing Trap Focus #264

@Jordan9232

Description

@Jordan9232

As far as I can tell, there doesn't seem to be any way to prevent trap focus from happening. I want to be able to still interact with other elements on the page while keeping the popover open, but my popover has a button in it so any time I try to focus a different element outside the popover it automatically refocuses my button.

I've tried setting autoFocus to false but that only seems to affect focus when the popover gets opened.

Is there something I am missing on how to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions