fix: (regression 0.52.4) show: pressing ESC after file-menu, caused the file-show to be closed as well

Massimo Melina committed Aug 17, 2024 at 19:17 UTC 7383d99b8d922471c3e4afe0bde2b0ba7c74589d
1 file changed +1
shared/dialogs.ts
+1
@@ -176,6 +176,7 @@ export function componentOrNode(x: ReactNode | FunctionComponent) {
176 function onKeyDown(ev:any) {
177 if (ev.key === 'Escape') {
178 closeDialog()
179 + ev.stopPropagation()
180 }
181 }
182