ui5-side-navigation: the ui5-navigation-menu doesn't open in collapsed mode
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:
- http://localhost:8080/packages/fiori/test/pages/SideNavigationOnly.html
- Press the collapsed checkbox
- Press the three dot button in the side navigation
Observe the error in the console:
- Press the three dot button again:
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
- http://localhost:8080/packages/fiori/test/pages/SideNavigationOnly.html
- Press the collapsed checkbox
- Press the three dot button in the side navigation
- 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.
Hello @SAP/ui5-webcomponents-topic-rd,
Please checkout this issue for the ui5-side-navigation component.
Best regards, Boyan
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