This repository was archived by the owner on Apr 28, 2026. It is now read-only.
Commit 7df7c8a
ComputelessComputer
Keep home scroll ref stable
Remove the home scroll position from the ref callback dependencies so scrolling no longer forces React to detach and reattach the content ref.1 parent b0b1ad3 commit 7df7c8a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
0 commit comments