[ObjectPage]: Anchor bar does not adhere to fiori section/subsection guidelines #6644
Open
1 task done
Labels
bug
Something isn't working
Describe the bug
If an section only has one subsection there should be no subsection selection in the anchor bar.
From the guidelines:
"If a section contains only one subsection, the title of the subsection is used as the name of the section. In this case, there is no subsection submenu in the anchor bar." (https://experience.sap.com/fiori-design-web/object-page/#sections)
Isolated Example
https://stackblitz.com/edit/github-pjrpra?file=src%2FApp.tsx
Reproduction steps
Expected Behaviour
There should be a way to hide the subsection title for the anchor bar or it should be done automatically.
Screenshots or Videos
UI5 Web Components for React Version
2.3.1
UI5 Web Components Version
2.3.0
Browser
Chrome
Operating System
MacOS
Additional Context
No response
Relevant log output
No response
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: