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.
1 parent e720643 commit 8dfed8fCopy full SHA for 8dfed8f
src/browser/services/DecorationService.ts
@@ -106,7 +106,7 @@ export class Decoration extends Disposable implements IDecoration {
106
}
107
108
private _createElement(renderService: IRenderService, shouldRecreate?: boolean): void {
109
- if (shouldRecreate && this._element) {
+ if (shouldRecreate && this._element && this._container.contains(this._element)) {
110
this._container.removeChild(this._element);
111
112
this._element = document.createElement('div');
0 commit comments