Open skowrons opened 6 days ago
A current "workaround" would be to wrap the ObjectPageSubSection
in a div
:
<ObjectPageSection hideTitleText titleText="Comments" id="comments">
<div>
<ObjectPageSubSection
titleText="Comments"
id="comments"
hideTitleText
>
<StandardFeed
collection={Collections.ProjectsTasksFeed}
parentId={task.id}
/>
</ObjectPageSubSection>
</div>
</ObjectPageSection>
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