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

Đang mở
#9,128 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

author action
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.
Ngôn ngữ chính
TypeScript
Star
543
Fork
114
Merge trung bình
18 giờ 30 phút
Pull request đã merge (30 ngày)
76

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UI5/webcomponents-react

Tất cả issue của UI5/webcomponents-react

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.