Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EuiFlyout] Focus behaviour is different than expected with more than Flyout open #8376

Open
acstll opened this issue Feb 27, 2025 · 0 comments
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@acstll
Copy link
Contributor

acstll commented Feb 27, 2025

Describe the bug

If only a single Flyout is open, the Flyout itself is focused on open and the next tab is the close button.
If another Flyout is open as well then the Flyout dialog seems to not be focused on open (instead the toggle button stays focused), meaning 2 tabs are needed to get to the close button.

Impact and severity
Impact is low because it's not blocking users, it's one more extra tab needed.

Environment and versions

  • EUI version: v99
  • React version: 18 (does not affect 17 nor 16)

To Reproduce
WIP

Expected behavior
Focus behaviour should be the same regardless of the amount of Flyouts open simultaneously.

Additional context
This one surfaced while testing EuiCollapsibleNavBeta functionality in #8325

@acstll acstll added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible
Projects
None yet
Development

No branches or pull requests

1 participant