# Forum should remember scroll position

**URL:** <https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081>\
**Category:** Help\
**Created:** [June 16, 2022, 10:14pm UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081 "2022-06-16T22:14:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 16, 2022, 10:14pm UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/1 "2022-06-16T22:14:49Z")

</div>

When I return to a thread after following a link, the forum reloads and loses my scroll position. This is annoying — all the more so because remembering scroll position is a basic browser feature that the forum devs had to work to break.

The obvious workaround is to open links in a new tab or window (which can cause the lesser annoyance of duplicated notifications and confuse the forum software if you start responding to a thread with an unfinished draft in another window).

I know Obsidian’s devs don’t write the forum software, but maybe you can pass the word along.

---

<div class="post-metadata">

**Author:** ![rigmarole](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rigmarole/32/29973_2.png) [@rigmarole](https://forum.obsidian.md/u/rigmarole)\
**Post date:** [June 16, 2022, 10:26pm UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/2 "2022-06-16T22:26:57Z")

</div>

> [@CawlinTeffid](#):
>
> maybe you can pass the word along.

The community forum for Discourse is here:

> **[Discourse Meta](https://meta.discourse.org/)**
>
> Learn about and discuss Discourse, the next-generation open-source forum software.

* * *

Strange though. I don’t have the same experience. Can you explain steps to reproduce this? I just went to an… infamously long thread, and clicked a link. And then hit the back button and it went straight back to where I had been.

As I scroll a thread, the URL changes, storing a number at the end that corresponds to the post I was scrolled to. Do you not have that? It might be something you disabled in your own preferences. Or it might be your browser. I’m on Firefox in Windows at the moment.

![image](https://forum.obsidian.md/uploads/default/original/3X/e/2/e2f21a984d23bc622d7a15042a021ce6d849e32c.png)

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 17, 2022, 12:14am UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/3 "2022-06-17T00:14:06Z")

</div>

Hmm. I’m in Safari on MacOS. I hadn’t really noticed the problem until today, but I often open links in new tabs anyway. Today for whatever reason I just clicked thru on various links.

I often have a bazillion tabs open, so maybe something’s getting pushed out of memory, but my current number of tabs is unusually low, so I don’t know.

~~I should try restarting the browser.~~

I restarted the browser. So far I haven’t seen the same behavior. Sometimes I end up somewhere in the middle of the thread. I think the scroll-triggered URL changes that you pointed out don’t always happen immediately. I don’t think that’s what caused the previous problem; I’ll just chalk it up to a passing glitch for now.

~~I’m going to delete this thread (after a wait so you can maybe see my reply).~~

Actually, I just managed to reproduce it on [List all highlights in document(s) — without community plugins!](https://forum.obsidian.md/t/list-all-highlights-in-document-s-without-community-plugins/38984). It’s a long-ish post. I scrolled to the bottom, clicked a link, came back and found myself at the top of the page. I suspect that Discourse just puts you at the top of whatever post it thinks is current.

---

<div class="post-metadata">

**Author:** ![rigmarole](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rigmarole/32/29973_2.png) [@rigmarole](https://forum.obsidian.md/u/rigmarole)\
**Post date:** [June 17, 2022, 2:52am UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/4 "2022-06-17T02:52:19Z")

</div>

Sounds like a feature request for [https://meta.discourse.org/](https://meta.discourse.org/)

Meanwhile as a workaround, you can go to your preferences → interface, and set “Open all external links in a new tab”.

> [@CawlinTeffid](#):
>
> I suspect that Discourse just puts you at the top of whatever post it thinks is current.

Rather, I think since the data could be changed, it refreshes to the url, and the dynamic url is per-post. And your link was only one post, so only one thing to jump to.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [June 17, 2022, 6:54am UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/5 "2022-06-17T06:54:40Z")

</div>

I’ll drop a line to Discourse — thanks.

> [@rigmarole](#):
>
> Meanwhile as a workaround, you can go to your preferences → interface, and set “Open all external links in a new tab”.

That doesn’t help with links to other forum posts, which is what I was clicking. But thank you — I forget that this site has a Preferences menu.

> [@rigmarole](#):
>
> Rather, I think […] it refreshes to the url, and the dynamic url is per-post. And your link was only one post, so only one thing to jump to.

Yes, that’s what I was trying to communicate. 🙂 I think it’s a bad design, but I can just go back to opening links in new tabs (which I often do — for some reason I was just clicking casually yesterday, which is why I suddenly noticed).

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [April 10, 2023, 1:43pm UTC](https://forum.obsidian.md/t/forum-should-remember-scroll-position/39081/6 "2023-04-10T13:43:01Z")

</div>

Closed on April 10, 2023, 1:43pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
