Repository navigation
Commit 83a7ea4
fix(web): read the live-follow latch when remembering a thread position
A navigation gesture releases ChatView's live-follow latch synchronously,
but liveFollowEnabled only changes on the next render. A scroll event in
between could still remember the thread as at the end. Read the latch
directly so a switch in that window restores the reading position.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent b61dd88 commit 83a7ea4
3 files changed
Lines changed: 26 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5342 | 5342 | | |
5343 | 5343 | | |
5344 | 5344 | | |
| 5345 | + | |
| 5346 | + | |
| 5347 | + | |
| 5348 | + | |
5345 | 5349 | | |
5346 | 5350 | | |
5347 | 5351 | | |
| |||
9994 | 9998 | | |
9995 | 9999 | | |
9996 | 10000 | | |
| 10001 | + | |
9997 | 10002 | | |
9998 | 10003 | | |
9999 | 10004 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
1027 | 1028 | | |
1028 | 1029 | | |
1029 | 1030 | | |
1030 | | - | |
| 1031 | + | |
| 1032 | + | |
1031 | 1033 | | |
1032 | 1034 | | |
1033 | 1035 | | |
| |||
1065 | 1067 | | |
1066 | 1068 | | |
1067 | 1069 | | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
1068 | 1078 | | |
1069 | 1079 | | |
1070 | 1080 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
450 | 455 | | |
451 | 456 | | |
452 | 457 | | |
| |||
511 | 516 | | |
512 | 517 | | |
513 | 518 | | |
| 519 | + | |
514 | 520 | | |
515 | 521 | | |
516 | 522 | | |
| |||
1032 | 1038 | | |
1033 | 1039 | | |
1034 | 1040 | | |
1035 | | - | |
1036 | | - | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1037 | 1044 | | |
1038 | 1045 | | |
1039 | 1046 | | |
| |||
1092 | 1099 | | |
1093 | 1100 | | |
1094 | 1101 | | |
| 1102 | + | |
1095 | 1103 | | |
1096 | 1104 | | |
1097 | 1105 | | |
| |||
0 commit comments