diff --git a/packages/core/src/browser/dialogs.ts b/packages/core/src/browser/dialogs.ts index 686808cd87544..4822837ca6091 100644 --- a/packages/core/src/browser/dialogs.ts +++ b/packages/core/src/browser/dialogs.ts @@ -243,7 +243,7 @@ export abstract class AbstractDialog extends BaseWidget { close(): void { if (this.resolve) { if (this.activeElement) { - this.activeElement.focus(); + this.activeElement.focus({ preventScroll: true }); } this.resolve(undefined); }