Commit 295745f
authored
🤖 fix: prevent Escape in image preview from canceling stream (#1221)
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.
---
_Generated with `mux` • Model: `mux-gateway:anthropic/claude-opus-4-5` •
Thinking: `high`_1 parent 6dea256 commit 295745f
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