Les notes de version de Discourse 3.0 mentionnent « Restaurer le défilement sur les pages d’activité des utilisateurs ».
Cependant, dans la version actuelle, en ouvrant /u/:username/activity/posts,
en faisant défiler vers le bas, en ouvrant un message et en appuyant sur le bouton Retour du navigateur,
la page retourne en haut au lieu de restaurer la position de défilement précédente.
4 « J'aime »
davidb
(David B)
Août 7, 2026, 2:21
2
Merci pour le signalement, cela devrait corriger le problème :
committed 12:36PM - 07 Aug 26 UTC
Scrolling a user activity stream far enough to trigger infinite scroll,
opening … a topic, then pressing back would land the user higher up the
page than where they left off.
The scroll position was being restored correctly, but the stream was
refetched from scratch, so the page only held its first page of items
and was too short to scroll back to the saved offset — the browser
clamped it.
On a back/forward navigation we now reuse the stream we left behind,
including everything infinite scroll appended, so the page is the same
height it was and the restored position lands where the user was
reading. The stream is stored per history entry via the historyStore
service, so ordinary forward navigation still loads a fresh stream.
Meta bug report:
https://meta.discourse.org/t/regression-u-username-activity-loses-scroll-position-after-browser-back/406292
2 « J'aime »
davidb
(David B)
A fermé ce sujet ()
Août 12, 2026, 2:22
3
Ce sujet a été automatiquement fermé après 5 jours. Les nouvelles réponses ne sont plus autorisées.