Discourse 3.0 릴리스 노트에는 “사용자 활동 페이지에서 스크롤 복원” 기능이 언급되어 있습니다.
그러나 현재 버전에서 /u/:username/activity/posts를 열고, 아래로 스크롤한 후, 게시물을 열면 브라우저의 뒤로 버튼을 눌러도 이전 스크롤 위치가 복원되지 않고 페이지 상단으로 돌아갑니다.
4개의 좋아요
davidb
(David B)
8월 7, 2026, 2:21오후
2
리포트해 주셔서 감사합니다. 이 커밋으로 문제가 수정되어야 합니다:
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개의 좋아요
davidb
(David B)
에 닫힘
8월 12, 2026, 2:22오후
3
이 주제는 5일 후 자동으로 닫혔습니다. 더 이상 새 답글을 작성할 수 없습니다.