-
Notifications
You must be signed in to change notification settings - Fork 105
Labels
Description
Describe the bug
Controlled change of selectedSectionId
is not taken into account.
Despite the fact that the selectedSectionId
is changed, the ObjectPage does show the selected section.
Documentation states:
... it sets the current selected
ObjectPageSection
by id.
This can be used to change the selected section by clicking on a custom link or by other user interactions.
Isolated Example
https://stackblitz.com/edit/github-e1km2ma4-qmfewvz4?file=src%2FApp.tsx,package.json
Reproduction steps
- Manually store the selectedSectionId in the React state
- Change the selectedSectionId interactively (by clicking on a button, etc)
- The active ObjectPageSection is not changed, the related tab is not highlighted as well.
Expected Behaviour
The ObjectPage should show the selected section and highlight the related tab when selectedSectionId is changed.
In other words, a controlled way of changing tab should work.
Screenshots or Videos

UI5 Web Components for React Version
2.5.1, 1.29.11
UI5 Web Components Version
2.5.1, 1.24.11
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SAP
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New