Scrollbar doesn't go to the top when opening the admin panel

Hi.
When I’m on a topic on which I have scrolled down (even just a bit), like this:

And I go the admin panel, the admin opens like this:

Which forces me to scroll up in order to actually see the admin tabs.
This is a bit annoying and it would be better if the scrollbar went automatically up when we enter the admin panel.

6 Likes

@Osama can you add to your list.

Repro is:

  1. reload this topic
  2. scroll down
  3. click admin from menu
  4. it is positioned correctly
  5. click back
  6. scroll down
  7. click admin from menu
  8. it is not positioned right

You can hold off on fixing this for 24 hours or so in case @eviltrout has any ideas here cause ember should really have our back here.

4 Likes

Fixed in:

https://github.com/discourse/discourse/pull/6039

5 Likes

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