Repository navigation
Commit bc7efe2
fix(web): threads opened from an empty pane land at the latest message
When the timeline list mounted fresh for a thread, the restore effect's
scrollToEnd replaced LegendList's initialScrollAtEnd, which keeps
retargeting the end while rows measure. The thread stopped at the
estimated end, often thousands of pixels above the newest message.
Skip that call when the list mounted for this thread. A list reused
across a thread switch still scrolls to the end.
Takes over #18074.
Co-authored-by: Aaron Queen <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 16918b5 commit bc7efe2
2 files changed
Lines changed: 51 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
841 | 871 | | |
842 | 872 | | |
843 | 873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
856 | 874 | | |
857 | 875 | | |
858 | 876 | | |
| |||
910 | 928 | | |
911 | 929 | | |
912 | 930 | | |
913 | | - | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
914 | 934 | | |
915 | 935 | | |
916 | 936 | | |
| |||
0 commit comments