切换标签时,分类设置应滚动到顶部

CZP8VoJ
每次切换窗口时,新窗口应从开头显示,而不是从中间或底部开始,否则某些窗口(如“安全”和“标签”)即使内容存在也会显示为空白。

唯一能在初始位置自动显示焦点(无需手动干预)的窗口是“主题模板”窗口,因为其内部包含一个文本编辑器(焦点位于鼠标光标处)。

此处已在 Meta 上使用 Quantum 和 Chrome + Win 10 进行测试。

编辑:标题已更新,此问题同时出现在分类设置和管理设置面板中

9 个赞

Hmm yes we should fix this @eviltrout.

1 个赞

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

3 个赞

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

Exactly :wink:

I will took this one too.

1 个赞

Ok this should fix it:

https://github.com/discourse/discourse/commit/7f89f8aa3f247f2617064623dfe26129d8718e74

10 个赞