Google Sheet Embed post in topic always jumps to focus


(Keith) #1

I wish I could link directly to the example, but it’s part of an admin category. Anyway, here’s the problem:

One of my moderators posted a google sheet, which embedded beautifully, then conversation when on. Every time I return to that topic, it loads the page correctly to the bottom for a brief second, then once the sheet gets loaded, the page scrolls back up to it and focuses on that post.

My current topic is 38 posts long, with the sheet on post #4, so it’s quite noticable.

Again, I’m sorry I can’t point you to a repro - if I have time soon I’ll try to make one quickly.


(Daniela) #2

It’s an old bug never fixed.
Look "Known issues"

If I correctly remember this plugin was merged in Discourse 2 years ago.


(Jeff Atwood) #3

The workaround is to put a space in front of the URL so it does not embed / onebox. Google Doc oneboxes are rather broken.


(Keith) #4

Ah, fair enough. Thanks!


(Arpit Jalan) #5

Not relevant anymore since Google Docs onebox will now just show fancy link and metadata. Demo here:


(Arpit Jalan) #6