Investigate scroll-offset management issues on pages with sticky banner
@pradyunsg y travaille déjà.
Depuis le 20/3/2023.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
In testing this, sometimes when loading a page with a fragment identifier (the original scenario motivating this change), at least for me in FF on Windows, the scroll offset isn't applied and the banner covers the heading, which I'm guessing is because the scroll event races this snippit on
DOMContentLoadedand sometimes the scroll is executed before the scroll offset has been set.
Originally posted by @CAM-Gerlach in https://github.com/python/peps/pull/2992#pullrequestreview-1276259998
Decided to defer the detailed investigation into this for a follow-up change -- this is an issue for tracking either the change of issuing an additional scroll event or using a different mechanism (eg: something render-blocking) to set the scroll offset instead or some other way to avoid the occasional race condition.
- Langage dominant
- reStructuredText
- Étoiles
- 5k
- Forks
- 1.8k
- Merge moyen
- 2 j 4 h
- PR mergées (30 j)
- 25
Guide de contribution
Ouvrir 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 python/peps
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
New PEP Editors? Ouvertemeta
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
-
infra
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 48/100