escape key down

This commit is contained in:
Christian Bastian
2024-01-24 03:10:59 -05:00
parent 55fcd4f405
commit 0a6da43af3

View File

@@ -784,7 +784,9 @@ class ModelManager extends ComfyDialog {
searchDropdown.style.display = "none";
e.stopPropagation();
}
else if (e.key === "Escape") {
},
onkeydown: (e) => {
if (e.key === "Escape") {
e.target.blur();
e.stopPropagation();
}