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

[Bug]: Menu with openOnHover does not restore focus in some cases #31344

Open
2 tasks done
layershifter opened this issue May 13, 2024 · 0 comments
Open
2 tasks done

[Bug]: Menu with openOnHover does not restore focus in some cases #31344

layershifter opened this issue May 13, 2024 · 0 comments

Comments

@layershifter
Copy link
Member

Library

React Components / v9 (@fluentui/react-components)

System Info

N/A

Are you reporting Accessibility issue?

no

Reproduction

https://stackblitz.com/edit/zdyuuh-spevbr

Bug Description

Actual Behavior

  • Focus First Button using keyboard to observe focus indicator
  • Hover any of the Menu-Trigger buttons to open menu
  • Move mouse away and wait for menu to close
  • Focus is lost, focus is on body

Expected Behavior

  • Focus is not lost

Logs

N/A

Requested priority

High

Products/sites affected

Teams

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants