Skip to content

[EuiFocusTrap] Can be funky when it comes to returning focus to originating button #3170

Closed

Description

@cchaos

Originally caught by @myasonik in #3117, when the EuiCollapsibleNav drawer is opened and then closed for the first time, the focus doesn't correctly return to the triggering button. However, all subsequent interactions do.

Screen Capture on 2020-03-25 at 17-53-42

Interestingly enough I was able to get the bad return focus behavior consistently when I set disabled={true} .

Screen Capture on 2020-03-25 at 17-56-18

Activity

  1. snide commented on Sep 18, 2020

    @snide
    Contributor

    This no longer appears since we've switched to the new focus trap system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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