[ObjectPage]: Scrollbar jumps to the focused section once go out and come back to the browser tab
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- react, typescript
- Ambito
- frontend
Direzione di ricerca
Start with the Object Page component and the section focus and scroll behavior shown in the linked isolated example. Reproduce the tab-switch sequence: scroll to another section without selecting it, switch away from the browser tab, then return. Done when the scrollbar stays at its current position after returning; compare with the linked SAPUI5 example.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
In Object Page component, scrollbar jumps back to the focused section once user goes out of the browser tab and comes back to it.
Isolated Example
Reproduction steps
- Navigate to the first section of the object page so that it shows blue border around it.
- Now use mouse to scroll down to different section but don't select it.
- Go out of the browser tab/window and come back to the page
- Observe that scrollbar jumps back to the first section which was in focus
Expected Behaviour
Scrollbar shouldn't jump back to first section or focused section instead stay on the current scroll position.
It appears that SAPUI5 didn't have that issue - https://ui5.sap.com/#/entity/sap.uxap.ObjectPageLayout/sample/sap.uxap.sample.ObjectPageOnJSON
Screenshots or Videos
https://github.com/user-attachments/assets/6948b873-420e-4f8e-b165-6395ec1b4a14
UI5 Web Components for React Version
V2
UI5 Web Components Version
NA
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
SFSF
Declaration
- I’m not disclosing any internal or sensitive information.
- Lingua principale
- TypeScript
- Stelle
- 544
- Fork
- 113
- Merge medio
- 1g 16h
- PR unite (30g)
- 34
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di UI5/webcomponents-react
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
UI5/webcomponents-react#9181 ·
I maintainer di solito rispondono entro 1 giorno
-
[AnalyticalTable]: useF2CellEdit inserts "undefined" into grid-cell aria-labelForse già presa @Lukas742 l’ha presa 5 giorni fa. ApertaSAP SF
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
UI5/webcomponents-react#9171 ·
I maintainer di solito rispondono entro 1 giorno
-
[ObjectPage]: page will twitch when the header height reaching the threshold of expansion and collapseForse già presa @Lukas742 l’ha presa 8 giorni fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
UI5/webcomponents-react#9128 · 9 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
UI5/webcomponents-react#8529 ·
I maintainer di solito rispondono entro 1 giorno
-
Design Pending SAP SF
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
UI5/webcomponents-react#8158 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di UI5/webcomponents-react
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
can1357/oh-my-pi#21349 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ohcnetwork/care_fe#17474 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100