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 309d15c commit ca5cf50Copy full SHA for ca5cf50
packages/ide/src/fill/dialog.ts
@@ -130,7 +130,7 @@ export class Dialog {
130
* Show the dialog.
131
*/
132
public show(): void {
133
- if (!this.cachedActiveElement) {
+ if (!this.cachedActiveElement && document.getElementsByClassName(this.overlay.className).length === 0) {
134
this.cachedActiveElement = document.activeElement as HTMLElement;
135
(document.querySelector(".monaco-workbench") || document.body).appendChild(this.overlay);
136
document.addEventListener("keydown", this.onKeydown);
0 commit comments