Progress bar inaccurate


(Sam Saffron) #1

Repro:

  1. Go to: Discourse General Polish prior to V1
  2. For maximum effect, open the composer.
  3. Post number is incorrect.

(Jeff Atwood) #2

What happens if you scroll a few pixels up or down?


(Sam Saffron) #3

It goes 1,2,3,4

If the composer is minimized it just goes 1,2 on the first post. Totally bust.


(Jeff Atwood) #4

I see, it thinks it is still at the bottom of the page. Let’s avoid cutesy topic titles for bugs, they make it very hard to find things.


(Jeff Atwood) #14

Ok, I take that back, I can repro. Still, I think these are two different issues:

  1. When editor is expanded, progress bar is still thinking it is at the bottom of the page

  2. Progress bar inaccuracy.


(Régis Hanol) #15

Both issues are fixed in master :bear:

https://github.com/discourse/discourse/commit/8262279380918edacb1e2d68562db5317962fea7


(Jeff Atwood) #16

Confirmed fix using example in first post.


(Jeff Atwood) #17