Wrong scroll position on badges page


(Gerhard Schlager) #1

It’s just a small visual glitch, but I thought I’d mention it. :wink:

Steps to reproduce:

  1. Go to your profile
  2. Scroll down in your “All” list
  3. Go to the badges page (Hamburger menu -> Badges)

When the badges page loads it looks like I have already scrolled to the end of the page, which of course I haven’t.


(Sam Saffron) #2

@eviltrout can you have a look at this its very odd.


(Robin Ward) #3

Fixed, thanks:

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


(Robin Ward) #4

And:

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

FYI I am not sure why scrolling to the top is not the default. That is something we should figure out some day.


(Sam Saffron) #5