escape key down
This commit is contained in:
@@ -784,7 +784,9 @@ class ModelManager extends ComfyDialog {
|
|||||||
searchDropdown.style.display = "none";
|
searchDropdown.style.display = "none";
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
else if (e.key === "Escape") {
|
},
|
||||||
|
onkeydown: (e) => {
|
||||||
|
if (e.key === "Escape") {
|
||||||
e.target.blur();
|
e.target.blur();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user