Menubar: The bug where the menuitems don't close when clicking outside the menuitem in mobile mode. #15240
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
For example, look at the primeng documentation, https://primeng.org/menubar#basic menubar basic:
In mobile mode (just shrinking the screen), when menuitems are opened, clicking outside the menuitems does not close the menuitems until you click the icon.
This bug was not present until version 15, but it appeared starting from version 16.
Environment
window
Reproducer
No response
Angular version
17.1.3
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.1
Browser(s)
All
Steps to reproduce the behavior
Expected behavior
When clicking outside the menuitem, the menuitem should close.
The text was updated successfully, but these errors were encountered: