カテゴリ設定のタブ切り替え時にトップへスクロールする

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