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

Abierto
#9,128 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
543
Forks
114
Merge medio
18 h 30 min
PR fusionados (30 d)
76

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UI5/webcomponents-react

Todos los issues de UI5/webcomponents-react

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.