Issue Scrolling on Threads Following v2026.1 Update

Ever since updating to the latest version of Discourse, we’ve been getting fairly widespread complains about issues while scrolling through discussions that have lots of Twitter / X embeds.

Here are some example pieces of user feedback:

I noticed with anyone posting especially multiple x/tweet embeds in a post let alone whole thread full of them, it glitches sometimes multiple times, it reloads those embeds and that messes up cursor location in page where I was reading and I have to browse back. It can happen in other threads too but these x embeds certainly break it often.

But I am seeing the pages move up and down. I’ll be reading a post and then the page will jump up or down a few pages. Then I have to scroll to get back to where I was reading. Then it happens again. I’ll have to scroll back to where I was reading again. It happens a lot.

On my Samsung Phone on Brave, on My microsoft Laptop on Brave, IE Edge and Chrome. On my above phone linux laptop on Brave. I see it on every device that I have. Lots of people are noticing in that thread as well, plus I got a call today from my brother Joe who is an Insider about it.

Anecdotally, I think it happens on fast internet connections. I have 2 GB bi directional fiber.

For me, it is when I allow the embedded Twitter/X posts to be shown. Stuff like that is blocked by default on Firefox, so I click to allow them.

Then, every time there is a new post on the thread, it jumps and the X posts reload and I have to scroll back to where I was. Did it loads today while reading the Fat Pipe as lots of replies were coming in.

This happened to me about 5 or 6 times this morning reading the Pipe. I assumed it was a bug from todays system upgrade.

i am investigating more this morning, and wheat seems to be happening is that embedded X posts within a thread will just spontaneously reload. When it happens, it appears to be all of the ones that are close to the area in focus. That is what causes the scrolling and placement issues. It seems to happen only when scrolling. Not sure if this helps, but just trying to track down more details.

I have not been able to reproduce the issue on my computer, yet lots of people are complaining about it, and several have specifically said it started after the update (although I have no way of confirming this right now).

Any ideas of help would be appreciated. Thanks.

1 Like

Do you have any Theme Components/plugins installed? Does it still occur in safe mode for your users? Thanks.

Apologies for the delayed response. I was trying to reproduce the issue myself so I could gain better insight into the issue. I was finally able to do it today on a highly active thread with lots of Twitter embeds.

The page will frequently jump, even while not scrolling. I’m fairly confident the triggering event is when somebody replies to the conversation. As soon as they reply, the page jumps. It’s very disorienting because you have to scroll back up to find where you left off, and then you have to wait for all the tweets to reload.

Unfortunately, testing in safe mode didn’t yield any insights because none of the tweets actually load when in safe mode. Instead of embedding the full tweet, it instead puts it into a blockquote with a link to the tweet (not video embed, etc.).

Maybe it doesn’t work in safe mode because you are using Twitter Native Embed. Safe mode disables customizations. Is that the case?
There is some discussion about that component causing jumps because Discourse doesn’t know the height of the iframe while loading in that topic: Twitter Native Embed - #23 by wineberserkers

One additional update: When entering safe mode and keeping themes and theme components active but disabling the rest, tweets render and the issue still occurs.

I just checked and can confirm we are using that component:

image

Do you have any ideas on how to fix it without getting rid of that component? Our community really likes having Twitter videos embedded.