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

ui5-side-navigation: the ui5-navigation-menu doesn't open in collapsed mode

Open unazko opened this issue 1 year ago • 1 comments

Bug Description

The ui5-navigation menu doesn't open in collapsed mode the first time due to an error in the console. There is no opener element set according to the error. Additionally on a second try to open the submenu it opens, but it takes the whole available space and there are no menu items displayed.

In order to reproduce the issue please open the following URL on locale machine:

  1. http://localhost:8080/packages/fiori/test/pages/SideNavigationOnly.html
  2. Press the collapsed checkbox
  3. Press the three dot button in the side navigation

Observe the error in the console: SideNavigation

  1. Press the three dot button again: NavigationMenu

Observe that it takes the whole available space and there are no menu items displayed.

Affected Component

ui5-side-navigation

Expected Behaviour

The expected behavior would be to open a navigation menu with properly displayed items on a first try.

Isolated Example

No response

Steps to Reproduce

  1. http://localhost:8080/packages/fiori/test/pages/SideNavigationOnly.html
  2. Press the collapsed checkbox
  3. Press the three dot button in the side navigation
  4. Press the three dot button again

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

latest

Browser

Chrome

Operating System

Windows

Additional Context

No response

Organization

No response

Declaration

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

unazko avatar Apr 11 '24 14:04 unazko

Hello @SAP/ui5-webcomponents-topic-rd,

Please checkout this issue for the ui5-side-navigation component.

Best regards, Boyan

unazko avatar Apr 11 '24 14:04 unazko

Hello @unazko,

Width issue is fixed with https://github.com/SAP/ui5-webcomponents/pull/8940. Error is fixed with https://github.com/SAP/ui5-webcomponents/pull/8812.

Best regards, Petar

dimovpetar avatar May 13 '24 11:05 dimovpetar