# Google Sheet Embed post in topic always jumps to focus

**URL:** https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752
**Category:** Bug
**Created:** [16 Junho , 2016 11:12 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752 "2016-06-16T11:12:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [16 Junho , 2016 11:12 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/1 "2016-06-16T11:12:47Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [16 Junho , 2016 15:21 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/2 "2016-06-16T15:21:37Z")

</div>

It’s an old bug never fixed.  
Look “Known issues”  
[https://github.com/tcreativo/plugin\_discourse\_spreadsheet](https://github.com/tcreativo/plugin_discourse_spreadsheet)

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

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [16 Junho , 2016 21:56 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/3 "2016-06-16T21:56:59Z")

</div>

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

---

<div class="post-metadata">

### Author: ![keith1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keith1/32/178982_2.png) [@keith1](https://meta.discourse.org/u/keith1)
#### Post date: [16 Junho , 2016 22:42 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/4 "2016-06-16T22:42:12Z")

</div>

Ah, fair enough. Thanks!

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [10 Agosto , 2016 15:18 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/5 "2016-08-10T15:18:13Z")

</div>

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

> [@Google docs onebox gem requires a "published" document](https://meta.discourse.org/t/google-docs-onebox-gem-requires-a-published-document/33649/17):
>
> Okay, this is now done. Sheet: [https://docs.google.com/spreadsheets/d/1FdgO2IrP99W4KtE2ImtEVE-qMHNFai5MyeKxZFv04oc/edit?usp=sharing](https://docs.google.com/spreadsheets/d/1FdgO2IrP99W4KtE2ImtEVE-qMHNFai5MyeKxZFv04oc/edit?usp=sharing) Document: Form: Slide:

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [10 Agosto , 2016 15:18 UTC](https://meta.discourse.org/t/google-sheet-embed-post-in-topic-always-jumps-to-focus/45752/6 "2016-08-10T15:18:17Z")

</div>


