Skip to content

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

@s-todorova

Description

@s-todorova

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

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions