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

Popover menu submenu is still displayed when the popover menu anchor button is clicked to close the menu #2853

Closed
MI6-286 opened this issue Dec 3, 2024 · 0 comments
Assignees
Milestone

Comments

@MI6-286
Copy link
Contributor

MI6-286 commented Dec 3, 2024

Summary of the bug

After opening a popover menu submenu, closing the popover menu by clicking the popover menu anchor button causes the submenu to remain open. It can be closed when pressing the escape key or by clicking away.

🪜 How to reproduce

  1. Go to a popover menu example that contains a submenu (example on the popover menu code page on the ICDS website) and open the submenu
  2. Attempt to close the menu by clicking the anchor button
  3. See that the submenu remains on the screen

📸 Screenshots or code

Screen.Recording.2024-12-03.at.09.52.07.mov

🧐 Expected behaviour

The menu should no longer be displayed when the anchor button is clicked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants