Commit 4155991
committed
🤖 fix: prevent Escape in image preview from canceling stream
When viewing an image preview (lightbox), pressing Escape should only
close the preview dialog, not also interrupt the active AI stream.
Added stopPropagation() on the Escape keydown event in the DialogContent
to prevent it from bubbling to the global stream interrupt handler.1 parent e9d5a93 commit 4155991
File tree
1 file changed
+6
-0
lines changed1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments