Commit 8675bbb
committed
fix(mdviewer): stop Escape propagation in search input to prevent focus steal
Add stopPropagation to search input Escape handler so bridge.js
doesn't also forward the key to Phoenix, which would steal focus
from the md viewer. Same pattern as link popover and format bar.
Also remove flaky CM dirty check from code block exit test.1 parent 0322dfe commit 8675bbb
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | 518 | | |
526 | 519 | | |
527 | | - | |
| 520 | + | |
528 | 521 | | |
529 | 522 | | |
530 | 523 | | |
| |||
0 commit comments