Fix combobox Escape handling inside dialogs (#204)

This commit is contained in:
Stefan Gründel
2026-10-23 09:51:21 +08:00
committed by GitHub
parent b7d33eee04
commit 64d219fdc6
3 changed files with 12 additions and 2 deletions
+5 -1
View File
@@ -390,7 +390,11 @@
}
if (event.key === 'Escape') {
root.close(true);
if (isOpen) {
event.preventDefault();
event.stopPropagation();
root.close(true);
}
return;
}