What does the timeline back button do?

If I scroll up a bunch in a topic, the back button appears next to the Discourse post scroll bar. But depending on how far I scroll up, I often have to click the button several times to get back to where I was. I’m having trouble figuring out how the back button works, so if anyone could explain it that would be very helpful.

The blue back button in the vertical timeline (or on mobile, it pops up above the timeline docked at the bottom) takes you to your lowest read position in the topic.

image

(I am testing in https://bbs.boingboing.net/t/post-your-pet-or-animal-pics/72032 which I do have read position on, it is post #1983)

However if your lowest read position is at the absolute bottom of the topic, the button will not appear because you can already reach the bottom by pressing the end key or clicking/tapping the bottom of the timeline.

Do note that there has to be room for it to physically appear, so you must scroll up “enough” for it to be a meaningful jump, which depends somewhat on post count.

I can’t repro any problem with “clicking the button several times”. In the above topic every time I click the blue back button on the timeline, I am taken to my last read position.

1 Like

Below is a sample workflow for me that shows the issue. Let me know if there’s anything else you want me to try or show you.


Last read position:
image


Scroll up a bit to get the back button to appear:
image


Scroll up a lot more:
image


After clicking the back button once:
image


After second click:
image


After third click:
image


After fourth click:
image

Looks like a bug with the site or theme maybe. Can you repro it here on meta? Just pick a long topic you haven’t read before, enter at the top, scroll down a bit and experiment.

The timeline back button should stay docked to the lowest read point, it looks to me like it is inappropriately following scroll for you.

1 Like

Ah, yes I am able to reproduce on meta. I tried on a couple topics and couldn’t reproduce at first. But it looks like it might only happen if your last read post is just before the last post.

3 Likes

Interesting, the tick mark on the timeline is where it’s supposed to be, but the button is incorrect. Perhaps this is an off-by-one bug @eviltrout?

3 Likes

Any update on this one?

Did you want to assign this to someone else @eviltrout? It does feel like a legit bug to me.

2 Likes

@maja can you see if you can reproduce and hopefully fix this?

4 Likes

Fixed in:

3 Likes