Skip to content

Commit 918346d

Browse files
committed
fix: escape key toggles panels when code hints popup is present
1 parent 3e85e50 commit 918346d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/view/WorkspaceManager.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,8 @@ define(function (require, exports, module) {
520520
// handled by the inline widget itself first.
521521
return;
522522
}
523-
if(focussedEditor.canConsumeEscapeKeyEvent()){
523+
const dropdownOpen = $(".dropdown.open").is(":visible");
524+
if(dropdownOpen || focussedEditor.canConsumeEscapeKeyEvent()){
524525
return;
525526
}
526527

0 commit comments

Comments
 (0)