Describe the bug
After the recent fix for programmatic tab highlighting 7215 a regression occurs when:
- Tab A → Tab B: Triggered via a button (programmatic navigation) → Tab B highlights and renders correctly.
- Tab B → Tab A: Clicking Tab A highlights it, but the content remains stuck on Tab B.
onSelectedSectionChange does not fire until manual refresh.
Isolated Example
No response
Reproduction steps
- Configure an
ObjectPage with IconTabBar mode and two tabs (A and B).
- Navigate from Tab A to Tab B via a button (e.g., setSelectedSectionId("B")).
- Click back to Tab A in the tab strip.
- Observe:
- Tab A is highlighted (UI).
- Content remains on Tab B (incorrect).
- No
onSelectedSectionChange event is triggered.
Expected Behaviour
Clicking Tab A after programmatic navigation should:
- Highlight Tab A and show its content.
- Fire
onSelectedSectionChange with selectedSectionId="A".
Screenshots or Videos
No response
UI5 Web Components for React Version
2.9.1
UI5 Web Components Version
2.9.0
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SAP
Declaration