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

DropdownMenu SubContent not close #3257

Open
Rage1502 opened this issue Nov 27, 2024 · 0 comments
Open

DropdownMenu SubContent not close #3257

Rage1502 opened this issue Nov 27, 2024 · 0 comments

Comments

@Rage1502
Copy link

Rage1502 commented Nov 27, 2024

Bug report

Current Behavior

When the page regains focus, multiple dropDownSub menu items remain open simultaneously, leading to an inconsistent user experience.

Expected behavior

All dropdown menus, including dropDownSub items, should close automatically when the page is re-focused, ensuring a clean and predictable interface.

Steps to Reproduce

1.	Open a dropdown menu that contains dropDownSub items.
2.	Open one or more dropDownSub items.
3.	Switch to another browser tab or application.
4.	Return to the page by re-focusing it.

Reproducible example

https://601857eb614bae0021c9b9dd-evgfcrkbbq.chromatic.com/?path=/story/components-dropdownmenu--submenus

Screen.Recording.2024-11-27.at.17.42.09.online-video-cutter.com.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant