Commit 972d7d4
committed
fix: move Suspense boundaries to per-chart to prevent React hideInstance scroll collapse
React's Suspense hideInstance sets display:none!important on the entire
chartStack div during concurrent transitions, collapsing body height and
clamping scroll to 0. Moving Suspense inside each LazyChart/chart surface
scopes this behavior to individual chart containers.1 parent 3701645 commit 972d7d4
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
| 588 | + | |
| 589 | + | |
591 | 590 | | |
592 | 591 | | |
593 | 592 | | |
594 | | - | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| |||
606 | 607 | | |
607 | 608 | | |
608 | 609 | | |
609 | | - | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
0 commit comments