We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7a941c + 18cd9b1 commit 2042bb8Copy full SHA for 2042bb8
src/browser/CoreBrowserTerminal.ts
@@ -400,7 +400,7 @@ export class CoreBrowserTerminal extends CoreTerminal implements ITerminal {
400
}
401
402
// If the terminal is already opened
403
- if (this.element?.ownerDocument.defaultView && this._coreBrowserService && this.element?.isConnected) {
+ if (this.element?.ownerDocument.defaultView && this._coreBrowserService) {
404
// Adjust the window if needed
405
if (this.element.ownerDocument.defaultView !== this._coreBrowserService.window) {
406
this._coreBrowserService.window = this.element.ownerDocument.defaultView;
0 commit comments