Commit 020d484
committed
fix: prevent chart stack unmount during transient empty-data states
visibleRows briefly becomes empty during startTransition filter updates,
unmounting the chart DOM and collapsing body height from ~2100px to 680px.
Browser clamps scrollY to 0 since content no longer tall enough.
Keep chart stack mounted with display:none instead of conditional rendering
so the DOM height is preserved and scroll position survives.1 parent 9c68656 commit 020d484
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
| 581 | + | |
| 582 | + | |
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
585 | 586 | | |
586 | 587 | | |
587 | 588 | | |
588 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
589 | 592 | | |
590 | 593 | | |
591 | 594 | | |
| |||
0 commit comments