提交 eb720dce 编写于 作者: S SteVen Batten

fixes #55456

上级 02822bf5
......@@ -300,6 +300,8 @@ export class Workbench extends Disposable implements IPartService {
'class': `monaco-workbench ${isWindows ? 'windows' : isLinux ? 'linux' : 'mac'}`,
id: Identifiers.WORKBENCH_CONTAINER
});
this.workbench.on(DOM.EventType.SCROLL, e => { this.workbench.getHTMLElement().scrollTop = 0; }); // Prevent workbench from scrolling #55456
}
private createGlobalActions(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册