[ObjectPage]: Scrollbar jumps to the focused section once go out and come back to the browser tab
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 57/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- react, typescript
- Domaine
- frontend
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- TypeScript
- Étoiles
- 544
- Forks
- 113
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 34
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de UI5/webcomponents-react
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
UI5/webcomponents-react#9181 ·
Les mainteneurs répondent en général sous 1 jour
-
[AnalyticalTable]: useF2CellEdit inserts "undefined" into grid-cell aria-labelPeut-être pris @Lukas742 l’a pris il y a 5 jours. OuverteSAP SF
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
UI5/webcomponents-react#9171 ·
Les mainteneurs répondent en général sous 1 jour
-
[ObjectPage]: page will twitch when the header height reaching the threshold of expansion and collapsePeut-être pris @Lukas742 l’a pris il y a 8 jours. Ouverte
Difficulté 3/5 Une demi-journée Accessibilité débutants 55/100
UI5/webcomponents-react#9128 · 9 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
UI5/webcomponents-react#8529 ·
Les mainteneurs répondent en général sous 1 jour
-
Design Pending SAP SF
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
UI5/webcomponents-react#8158 · 1 commentaire · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de UI5/webcomponents-react
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
can1357/oh-my-pi#21349 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 2 jours
-
[aw] CARE PR Reviewer: timed outOuverteagentic-workflows
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ohcnetwork/care_fe#17474 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100