Skip to content

[ui-side-navigation-sub-itm]: Wrong focus when click on category header #10179

@JohannesDoberer

Description

@JohannesDoberer

Issue Description

Behaviour:
I have a category expanded and the first sub item is selected + corresponding view will be displayed in the content area.
Bildschirmfoto 2024-11-14 um 15 06 27

When I click on the category header (not the arrow) and the header click doesn't trigger any navigation event, which means view in content area represents sub item, the focus will be changed to category header and the category does not collapse.
Bildschirmfoto 2024-11-14 um 15 06 51

Expected:
I would expect that the category would collapse and focus will stay on the sub-item, when I click on the category name.
e.g. like here:
https://fiddle.luigi-project.io/#/home/overview

UI5 Web Components Version
2.4.0

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions