[ObjectPage]: page will twitch when the header height reaching the threshold of expansion and collapse

Open
#9,128 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Lukas742 is already working on this.

Since Nov 23, 2026.

  • #9125 by @github-actions — merged
  • #9147 by @Lukas742 — merged
  • #9169 by @Lukas742 — open

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript
Domain
frontend

Research direction

Start from the ObjectPage implementation and reproduce with the layouts-floorplans-objectpage--full-screen-single-section story: make the collapsed content just require a scrollbar, then scroll to the bottom. Trace the header collapse/expand threshold logic and the scroll container sizing that feeds it. Done when the header state no longer oscillates at the bottom and the content remains scrollable.

Written by the indexing model from the issue text.

Description

Describe the bug

When scroll down to the bottom of the Dynamic page, the header height reaches a threashold of expansion and collapse which makes the page looks like twitching. This looks quite wired and breaks the ACC.

Isolated Example

No response

Reproduction steps

1.Go to https://ui5.github.io/webcomponents-react/v2/?path=/story/layouts-floorplans-objectpage--full-screen-single-section
2.Make sure if the header is collapsed, the content height on the page will just about to need a scollbar.
3.Try to use the mouse to scoll directly to the page bottom
4.You will see that due to header height reaches a threashold of expansion and collapse, it keeps rotate from the expansion view and collapse view, which makes the page looks like twitching.

Expected Behaviour

The page should not twitch in any time.

Screenshots or Videos

https://github.com/user-attachments/assets/d234b567-e183-404b-b062-063a2b64b5af

UI5 Web Components for React Version

2.27.2

UI5 Web Components Version

2.27.2

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
Dominant language
TypeScript
Stars
544
Forks
113
Avg merge
1d 16h
Merged PRs (30d)
34

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/webcomponents-react

All issues in UI5/webcomponents-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.