[Side Navigation]: overflow menu closes when key modifiers are used
Bug Description
With change #11271 we introduced to the click event details about key modifiers - if Ctrl, Shift, Alt or Meta key was pressed.
Currently if we press any of these keys while the overflow menu is open, the whole menu closes.
Affected Component
ui5-side-navigation
Expected Behaviour
Overflow menu should not close when pressing Ctrl/Alt/Shift/Meta keys.
Isolated Example
https://sap.github.io/ui5-webcomponents/nightly/packages/fiori/test/pages/SideNavigation.html
Steps to Reproduce
- Open the overflow menu by pressing '...' item
- Press the Alt/Ctrl/Shift/Meta key on the keyboard, without clicking anything
- Overflow menu closes
Log Output, Stack Trace or Screenshots
No response
Priority
Low
UI5 Web Components Version
latest
Browser
Chrome
Operating System
No response
Additional Context
No response
Organization
SAP
Declaration
- [x] I’m not disclosing any internal or sensitive information.
Hello @SAP/ui5-webcomponents-topic-b,
Seems the issue comes from the Menu (which we use for the overflow) - See on test page https://sap.github.io/ui5-webcomponents/nightly/packages/main/test/pages/Menu.html -> open the menu, press Shift,Alt,Ctrl or Meta key -> menu closes.
I attempted to fix this on our side by overriding some things but since I'm not aware of any specifics, I don't know if there's a reason the behavior of the menu is like this on purpse, perhaps this should be handled on your end. Could you please take over?
Best, Siyana
This issue has been closed. To reopen, just leave a comment!
:tada: This issue has been resolved in version v2.13.0-rc.2 :tada:
The release is available on v2.13.0-rc.2
Your semantic-release bot :package::rocket: