Scrolling up jumps to top of page


(probus) #1

When reading a topic and scrolling back towards the first post the view jumps to top when the top of the view reaches the bottom of the first post. I’m not sure when this started happening, but can reproduce here on meta:

  • Open a topic
  • Scroll down to second or third post
  • Scroll up slowly
  • When the top of the browser window reaches the end of the first post, it’ll jump all the way to the top of the page

Tested this with Firefox 25 and 26 on OSX 10.7.5 and 10.8.5.
Works as expected (no bug) on Chrome or Safari on same systems.


(Jeff Atwood) #2

I think I have seen this in IE10 and IE11 as well. It is odd how often quirks from Firefox also appear in IE. @eviltrout can you take a look?


(Robin Ward) #3

Thanks for showing me how to reproduce this. I’ve fixed it in master and it should be deployed later today.

https://github.com/discourse/discourse/commit/a37acd39a0991ca7edaa43d87a888acb3ce8e1d6


(Robin Ward) #4