We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7184d91 commit 0ee08dfCopy full SHA for 0ee08df
src/vs/base/browser/ui/contextview/contextview.ts
@@ -159,8 +159,8 @@ export class ContextView extends Disposable {
159
const usedShadowDOM = this.useShadowDOM;
160
this.useShadowDOM = domPosition === ContextViewDOMPosition.FIXED_SHADOW;
161
162
- if (container === this.container && usedShadowDOM !== this.useShadowDOM) {
163
- return; // container is the same and now shadow DOM usage has changed
+ if (container === this.container && usedShadowDOM === this.useShadowDOM) {
+ return; // container is the same and no shadow DOM usage has changed
164
}
165
166
if (this.container) {
0 commit comments