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

Open
MI6-286 opened this issue Dec 3, 2024 · 0 comments
Labels
type: bug 🐛 Something isn't working
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.

@MI6-286 MI6-286 added the type: bug 🐛 Something isn't working label Dec 3, 2024
@GCHQ-Developer-299 GCHQ-Developer-299 added this to the PI 10 V3 milestone Dec 19, 2024
@MI6-255 MI6-255 moved this from In Refinement to Ready for dev in Intelligence Community Design System Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Status: Ready for dev
Development

No branches or pull requests

2 participants