ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[Side Navigation]: overflow menu closes when key modifiers are used

Open s-todorova opened this issue 6 months ago • 1 comments

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

  1. Open the overflow menu by pressing '...' item
  2. Press the Alt/Ctrl/Shift/Meta key on the keyboard, without clicking anything
  3. 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.

s-todorova avatar May 27 '25 11:05 s-todorova

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

s-todorova avatar Jun 11 '25 06:06 s-todorova

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar Jul 22 '25 06:07 github-actions[bot]

: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:

ui5-webcomponents-bot avatar Jul 24 '25 08:07 ui5-webcomponents-bot