Commit f787704
committed
fix: show body-level popups over the fullscreen overlay (2.4.1)
Smart Phrasing / Load Image / Shrink popups attach to document.body at
z-index 10000, but the fullscreen overlay is z-index 99990, so they
rendered behind it and were invisible until you exited fullscreen. Parent
these modals into the fullscreen overlay when it's active (it owns the
stacking context, so a fixed backdrop inside it still covers the viewport
and renders above the editor); unchanged outside fullscreen.1 parent 023f892 commit f787704
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2671 | 2671 | | |
2672 | 2672 | | |
2673 | 2673 | | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
2674 | 2684 | | |
2675 | 2685 | | |
2676 | 2686 | | |
| |||
2724 | 2734 | | |
2725 | 2735 | | |
2726 | 2736 | | |
2727 | | - | |
| 2737 | + | |
2728 | 2738 | | |
2729 | 2739 | | |
2730 | 2740 | | |
| |||
3898 | 3908 | | |
3899 | 3909 | | |
3900 | 3910 | | |
3901 | | - | |
| 3911 | + | |
3902 | 3912 | | |
3903 | 3913 | | |
3904 | 3914 | | |
| |||
4282 | 4292 | | |
4283 | 4293 | | |
4284 | 4294 | | |
4285 | | - | |
| 4295 | + | |
4286 | 4296 | | |
4287 | 4297 | | |
4288 | 4298 | | |
| |||
0 commit comments