提交 d862e321 编写于 作者: R Rob Lourens

Fix #66796 - previously there was weird listener behavior described in that...

Fix #66796 - previously there was weird listener behavior described in that issue but it has disappeared
上级 37732e9c
......@@ -583,11 +583,8 @@ export class SettingsEditor2 extends BaseEditor {
if (this.searchResultModel) {
if (this.viewState.filterToCategory !== element) {
this.viewState.filterToCategory = element;
// see https://github.com/Microsoft/vscode/issues/66796
setTimeout(() => {
this.renderTree();
this.settingsTree.scrollTop = 0;
}, 0);
this.renderTree();
this.settingsTree.scrollTop = 0;
}
} else if (element && (!e.browserEvent || !(<any>e.browserEvent).fromScroll)) {
this.settingsTree.reveal(element, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册