# Category settings should scroll to top when changing tab

**URL:** https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133
**Category:** UX
**Created:** [December 15, 2017, 3:18pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133 "2017-12-15T15:18:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [December 15, 2017, 3:18pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/1 "2017-12-15T15:18:25Z")

</div>

![CZP8VoJ](https://global.discourse-cdn.com/meta/original/4X/e/4/a/e4ad38255ab116bdf6a87a39efbf6a56874f966e.gif)  
Whenever you change the window, the new window should display from the beginning, not from the middle or from the bottom otherwise some windows (security and tags) are displayed blank even if they are not.

The only window that shows the focus in the initial position (without manual intervention) is the “Topic template” window because inside there is a text editor (focus on the mouse cursor).

Tested here on Meta with Quantum and Chrome + Win 10

**EDIT : title updated, it happens both on the category settings and on the administrative settings panel**

---

<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: [December 16, 2017, 12:35am UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/2 "2017-12-16T00:35:53Z")

</div>

Hmm yes we should fix this @eviltrout.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [December 16, 2017, 2:55am UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/3 "2017-12-16T02:55:30Z")

</div>

This fearure has bee here forever. Many times I switch tabs and say, wtf blamk screen? Then I remember the scroll bar.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [December 16, 2017, 4:28pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/4 "2017-12-16T16:28:32Z")

</div>

> [@schungx](#):
>
> This fearure has bee here forever.

I do not check the category settings very often, but I remember that it worked “normally” some beta ago (or several beta ago)

> [@schungx](#):
>
> Many times I switch tabs and say, wtf blamk screen? Then I remember the scroll bar.

Exactly 😉

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [December 16, 2017, 7:44pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/5 "2017-12-16T19:44:00Z")

</div>

I will took this one too.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [December 16, 2017, 8:17pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/7 "2017-12-16T20:17:11Z")

</div>

Ok this should fix it:

[https://github.com/discourse/discourse/commit/7f89f8aa3f247f2617064623dfe26129d8718e74](https://github.com/discourse/discourse/commit/7f89f8aa3f247f2617064623dfe26129d8718e74)

---

<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: [December 16, 2017, 9:09pm UTC](https://meta.discourse.org/t/category-settings-should-scroll-to-top-when-changing-tab/76133/8 "2017-12-16T21:09:49Z")

</div>


