# Timeline gets stuck when going to last/first post

**URL:** https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810
**Category:** Bug
**Created:** [2017年六月20日 14:27 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810 "2017-06-20T14:27:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Hector](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Hector](https://meta.discourse.org/u/Hector)
#### Post date: [2017年六月20日 14:27 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/1 "2017-06-20T14:27:13Z")

</div>

On some topics the timeline seems to get stuck when clicking to go to the last post or the first post. The indicator doesn’t update. I’m on Windows 7 and it happens in Chrome, Firefox and IE 11.

---

<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: [2017年六月20日 23:26 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/2 "2017-06-20T23:26:01Z")

</div>

Can you give a more precise repro using topics on [try.discourse.org](http://try.discourse.org) please?

---

<div class="post-metadata">

### Author: ![Hector](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Hector](https://meta.discourse.org/u/Hector)
#### Post date: [2017年六月20日 23:58 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/3 "2017-06-20T23:58:13Z")

</div>

It happens all the time here on meta. Enter on any topic you haven’t visited yet. Click the bottom of the timeline to go to the las post, you move to the last post but the indicator in the timeline stays at the top. Scroll a little and the indicator updates. Click the top of the timeline, you are taken to the top but again the indicator doesn’t update.

Perhaps a video helps:

> **[Microsoft OneDrive](https://photos.onedrive.com/share/B81B2B7CA8CAEA09!119?cid=B81B2B7CA8CAEA09&resId=B81B2B7CA8CAEA09%21119&ithint=video&migratedtospo=true&redeem=aHR0cHM6Ly8xZHJ2Lm1zL3YvcyFBZ25xeXFoOEt4dTRkeWlwbGRhcDJfYVVvaDQ)**

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2017年六月21日 00:16 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/4 "2017-06-21T00:16:07Z")

</div>

Oh I see you must go more than the cloak size for it to trigger (20 posts).

Repro:

1. Go to the end of a long topic
2. Click timeline top area to scroll to first.

---

<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: [2017年六月21日 00:20 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/5 "2017-06-21T00:20:33Z")

</div>

OK, since we have a good repro @eviltrout can you have a look?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2017年六月21日 18:30 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/6 "2017-06-21T18:30:23Z")

</div>

Thanks, I’m really happy to fix this one. I’d seen it a few times but then thought I was crazy because I couldn’t reproduce it.

[https://github.com/discourse/discourse/commit/1a02f5154fc1d479524e32928f421ebd19b46f6b](https://github.com/discourse/discourse/commit/1a02f5154fc1d479524e32928f421ebd19b46f6b)

---

<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: [2017年六月23日 01:00 UTC](https://meta.discourse.org/t/timeline-gets-stuck-when-going-to-last-first-post/64810/7 "2017-06-23T01:00:28Z")

</div>

This topic was automatically closed after 30 hours. New replies are no longer allowed.
