[ObjectPage]: Scrollbar jumps to the focused section once go out and come back to the browser tab
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 57/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- react, typescript
- Bereich
- frontend
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 544
- Forks
- 113
- Ø Merge
- 1 T. 16 Std.
- Gemergte PRs (30 T.)
- 34
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus UI5/webcomponents-react
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
UI5/webcomponents-react#9181 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[AnalyticalTable]: useF2CellEdit inserts "undefined" into grid-cell aria-labelEvtl. vergeben @Lukas742 hat das vor 5 Tagen übernommen. OffenSAP SF
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
UI5/webcomponents-react#9171 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[ObjectPage]: page will twitch when the header height reaching the threshold of expansion and collapseEvtl. vergeben @Lukas742 hat das vor 8 Tagen übernommen. Offen
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 55/100
UI5/webcomponents-react#9128 · 9 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
UI5/webcomponents-react#8529 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Design Pending SAP SF
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
UI5/webcomponents-react#8158 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in UI5/webcomponents-react
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
can1357/oh-my-pi#21349 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen
-
agentic-workflows
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ohcnetwork/care_fe#17474 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100