Julius Marminge and Claude Fable 5
66d820ed32
fix(web): port the refined live-follow gesture gating to the v2 timeline
...
The rebase kept the LegendList 3.3.3 upgrade and patch from #5449 and the
mobile end-follow latch from #5566 , but the v2 MessagesTimeline/ChatView
still carried the branch's blunt any-gesture-breaks-follow listeners.
Port main's #5566 web mechanics onto the v2 follow architecture:
- resolveTimelineIsAtEnd measures the 40px follow re-arm band from real
geometry (contentLength/scroll/scrollLength minus the composer inset),
keeping the isNearEnd fallback for older state shapes.
- Follow now breaks only on gestures that can actually leave the live
edge: upward wheel with overflowing content, touch drags that exited
the end band, scrollbar drags vs content clicks, and keyboard
navigation (PageUp/Home/ArrowUp) — previously keyboard scrolling never
broke follow and the next stream chunk yanked the view back down.
- Listener attach retries across frames so a thread switch cannot mount
the list without its opt-out listeners.
Deliberately not ported: #5449 's shouldRestorePosition disclosure
anchoring and follow-gated maintainScrollAtEnd — the v2 timeline keeps
maintainScrollAtEnd={false} with its own follow scrolls and anchor
system; flipping that core is a separate change.
Co-Authored-By: Claude Fable 5 <[email protected] >
2026-08-14 11:23:33 +02:00
..
2026-08-08 22:13:16 -07:00
2026-08-13 22:02:09 -04:00
2026-08-12 22:46:23 +02:00
2026-08-14 11:23:33 +02:00
2026-08-14 11:23:32 +02:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:33 +02:00
2026-08-14 11:23:24 +02:00
2026-07-27 16:21:02 +02:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:32 +02:00
2026-08-05 23:09:23 +02:00
2026-08-07 00:57:22 -07:00
2026-08-07 23:31:47 -04:00
2026-08-07 23:31:47 -04:00
2026-06-25 19:06:44 -07:00
2026-06-25 19:06:44 -07:00
2026-06-27 08:53:34 -07:00
2026-08-07 18:06:10 -07:00
2026-08-07 18:06:10 -07:00
2026-06-19 23:49:33 -07:00
2026-08-13 22:02:09 -04:00
2026-08-13 22:02:09 -04:00
2026-08-13 22:02:09 -04:00
2026-08-13 22:02:09 -04:00
2026-08-07 14:45:56 -04:00
2026-08-07 14:45:56 -04:00
2026-06-22 13:14:24 -07:00
2026-06-20 15:14:46 -07:00
2026-07-22 15:54:09 +00:00
2026-07-22 15:57:39 +02:00
2026-06-16 09:31:57 -07:00
2026-07-22 15:57:39 +02:00
2026-07-17 23:14:45 +02:00
2026-08-14 11:23:31 +02:00
2026-08-12 16:26:27 -07:00
2026-05-12 21:54:28 +02:00
2026-08-10 02:23:27 -04:00
2026-08-10 02:23:27 -04:00
2026-07-17 21:42:13 +02:00
2026-07-27 21:43:49 -07:00
2026-08-14 11:23:16 +02:00
2026-06-15 15:58:03 -07:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:08 +02:00
2026-06-20 10:59:54 -07:00
2026-07-29 14:42:01 +02:00
2026-08-07 14:45:56 -04:00
2026-06-03 16:16:53 -07:00
2026-04-15 14:20:28 -07:00
2026-08-14 11:23:08 +02:00
2026-02-12 15:37:30 -08:00
2026-06-03 16:16:53 -07:00
2026-07-19 18:59:23 +02:00
2026-08-14 11:23:32 +02:00
2026-08-14 11:23:32 +02:00
2026-08-14 11:23:26 +02:00
2026-08-14 11:23:31 +02:00
2026-08-10 02:23:27 -04:00
2026-08-05 10:51:35 +05:30
2026-08-12 19:36:04 +05:30
2026-06-09 21:21:58 -07:00
2026-08-10 17:47:02 +02:00
2026-08-10 17:47:02 +02:00
2026-07-28 13:37:36 +02:00
2026-07-28 13:37:36 +02:00
2026-07-16 08:47:36 +00:00
2026-07-16 08:47:36 +00:00
2026-06-03 16:16:53 -07:00
2026-04-29 16:13:55 -07:00
2026-06-18 13:10:32 -07:00
2026-08-02 00:45:05 -07:00
2026-08-02 00:45:05 -07:00
2026-08-11 20:06:05 +00:00
2026-08-11 20:06:05 +00:00
2026-06-03 16:16:53 -07:00
2026-04-04 17:12:49 -07:00
2026-05-29 17:00:54 -07:00
2026-06-03 16:16:53 -07:00
2026-05-28 16:18:58 -07:00
2026-06-15 14:17:07 -07:00
2026-06-15 14:17:07 -07:00
2026-08-13 22:10:41 -04:00
2026-08-13 22:10:41 -04:00
2026-07-27 13:58:17 +02:00
2026-07-27 13:58:17 +02:00
2026-08-13 22:02:09 -04:00
2026-08-13 22:02:09 -04:00
2026-07-20 08:32:14 +00:00
2026-07-20 08:32:14 +00:00
2026-07-28 15:22:22 -07:00
2026-07-28 15:22:22 -07:00
2026-06-03 16:16:53 -07:00
2026-03-10 00:17:18 -07:00
2026-08-14 11:23:30 +02:00
2026-08-14 11:23:30 +02:00
2026-07-21 17:13:44 -07:00
2026-06-03 16:16:53 -07:00
2026-05-28 16:18:58 -07:00
2026-06-03 16:16:53 -07:00
2026-04-10 17:19:23 -07:00
2026-06-03 16:16:53 -07:00
2026-06-20 15:14:46 -07:00
2026-06-03 16:16:53 -07:00
2026-05-04 00:59:58 -07:00
2026-06-13 22:18:37 -07:00
2026-08-10 17:47:02 +02:00
2026-08-10 17:47:02 +02:00
2026-08-14 11:23:24 +02:00
2026-08-14 11:23:24 +02:00
2026-08-14 11:23:33 +02:00
2026-08-14 11:23:16 +02:00
2026-06-18 20:24:48 -07:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:33 +02:00
2026-08-14 11:23:33 +02:00
2026-06-18 13:10:32 -07:00
2026-06-18 13:10:32 -07:00
2026-08-05 10:51:35 +05:30
2026-08-10 17:47:02 +02:00
2026-06-03 16:16:53 -07:00
2026-04-15 14:20:28 -07:00
2026-06-18 13:10:32 -07:00
2026-06-18 13:10:32 -07:00
2026-08-14 11:23:31 +02:00
2026-08-11 20:00:17 +02:00
2026-08-11 20:06:05 +00:00
2026-08-11 20:06:05 +00:00
2026-08-14 11:23:31 +02:00
2026-08-14 11:23:31 +02:00
2026-06-03 16:16:53 -07:00
2026-04-09 02:05:20 +00:00
2026-07-29 13:54:17 +02:00
2026-07-29 13:54:17 +02:00
2026-07-17 23:24:10 +02:00
2026-07-23 22:09:32 -07:00
2026-08-14 11:23:24 +02:00
2026-08-14 11:23:16 +02:00
2026-07-23 18:06:04 -07:00
2026-08-13 21:45:51 -04:00
2026-08-13 21:45:51 -04:00
2026-07-29 14:42:01 +02:00
2026-06-03 16:16:53 -07:00
2026-08-11 20:00:17 +02:00
2026-08-11 20:06:05 +00:00
2026-06-22 14:00:30 -07:00
2026-08-14 11:23:08 +02:00
2026-06-18 13:10:32 -07:00
2026-06-27 08:53:34 -07:00
2026-06-27 08:53:34 -07:00