Help Needed Fixing a Discourse Scrolling Bug

Hi Dan, thanks for the reply.

I’m using a theme component to display a widget that appears in the sidebar on desktops and at the top of the post on mobile.

The issue is that it seems to interfere with Discourse’s ‘jump to last read’ feature. When a user opens a topic they’ve read before, the page initially scrolls to the correct position, but then the widget seems to trigger a layout shift or a partial reload. This ‘glitch’ forces the page back to the top, losing the user’s place.

I’ve attached a video to show exactly how the jump occurs. I’m using the latest version of Discourse
Video:https://drive.google.com/file/d/1PjIkhRQPf4HFMDYDQ6oj3jsxgx0D8Zxr/view?usp=sharing

Live link: Aave 14- Test eneded proposal - General - tally

1 Like