Bingxi Zhao (Frank)
00979bd74b
fix(reading): let the outline follow the page the reader is actually on
...
Turning pages in an EPUB, PDF or Markdown moved the header's counter and left
the outline behind: the sidebar stayed on whichever row was last clicked —
chapter one, for a reader who never clicked one — while the document was
eighty sections further along (#1447 ).
The workspace owns `activeLocator` because the outline panel is what needs it,
and only the rendered document knows where the reader is. The media stage has
always reported it up through `onLocatorChange`. The document surface had no
such prop: `handleVisibleLocator` set its own state and wrote the viewport,
both of which stay inside `ReaderPane`, so nothing the workspace reads ever
moved. Giving it the same seam the media stage has makes both branches say the
same thing to the same listener.
Scrolling the active row into view is deliberately not part of this. The
highlight being wrong was the defect; a panel that scrolls itself while the
reader is browsing it is a separate decision, and not obviously the right one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-09-14 02:08:29 +08:00
..
2026-09-11 04:39:34 +08:00
2026-09-01 15:55:40 +08:00
2026-09-08 00:22:08 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 21:28:15 +08:00
2026-06-22 15:22:53 +02:00
2026-09-02 04:09:11 +08:00
2026-09-14 01:43:18 +08:00
2026-09-06 13:46:29 +08:00
2026-09-08 00:46:09 +08:00
2026-07-19 21:31:10 +08:00
2026-09-06 23:04:24 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 22:15:33 -07:00
2026-06-08 19:10:18 +02:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-06-14 17:43:23 +02:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-14 02:06:16 +08:00
2026-09-01 22:24:29 +08:00
2026-08-27 22:03:09 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-09-10 23:41:36 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-11 00:07:30 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 21:28:15 +08:00
2026-08-02 13:23:45 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-14 01:43:40 +08:00
2026-09-01 22:24:29 +08:00
2026-09-08 00:22:08 +08:00
2026-09-02 04:09:11 +08:00
2026-09-07 10:20:03 +00:00
2026-09-06 13:46:29 +08:00
2026-08-13 00:02:42 +08:00
2026-08-13 18:49:48 +08:00
2026-08-16 22:39:47 +08:00
2026-09-08 00:26:00 +08:00
2026-08-17 02:04:52 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-09-04 06:32:36 -07:00
2026-09-04 06:32:36 -07:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-07-19 16:56:34 +08:00
2026-08-26 00:31:24 +08:00
2026-09-01 22:24:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-14 01:28:46 +08:00
2026-06-19 20:05:19 +08:00
2026-08-09 22:18:22 +08:00
2026-09-01 18:55:55 +08:00
2026-09-01 22:24:29 +08:00
2026-09-10 23:44:43 +08:00
2026-09-02 04:09:11 +08:00
2026-09-11 04:39:34 +08:00
2026-09-11 04:39:34 +08:00
2026-09-02 04:09:11 +08:00
2026-09-07 07:55:08 +00:00
2026-08-31 01:13:07 +08:00
2026-09-01 22:24:29 +08:00
2026-08-21 16:58:42 +08:00
2026-08-07 03:13:04 +08:00
2026-09-07 01:04:08 +08:00
2026-09-10 22:51:27 +08:00
2026-09-03 15:56:55 +08:00
2026-08-09 22:18:22 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-07 01:04:08 +08:00
2026-09-02 04:09:11 +08:00
2026-07-19 21:31:10 +08:00
2026-08-29 22:29:53 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-08-27 23:17:17 +08:00
2026-08-30 13:19:42 +08:00
2026-09-10 23:41:30 +08:00
2026-09-06 13:46:29 +08:00
2026-08-28 14:58:43 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 15:29:55 +08:00
2026-09-06 13:46:29 +08:00
2026-08-27 23:17:17 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-08-02 13:23:45 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 20:16:46 +08:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-07-26 20:22:17 +08:00
2026-09-01 20:16:46 +08:00
2026-08-06 22:11:15 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 20:16:46 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-06-14 14:52:27 +02:00
2026-09-01 20:16:46 +08:00
2026-09-10 23:41:36 +08:00
2026-08-31 19:51:48 +08:00
2026-08-24 16:52:00 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 15:29:22 +08:00
2026-07-24 17:14:41 +08:00
2026-08-27 16:16:54 +08:00
2026-08-31 19:34:01 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 21:28:15 +08:00
2026-08-30 13:19:42 +08:00
2026-08-31 08:44:08 -07:00
2026-08-28 14:58:48 +08:00
2026-08-28 14:58:48 +08:00
2026-09-14 02:08:29 +08:00
2026-08-31 18:40:45 +08:00
2026-09-03 15:20:13 +08:00
2026-08-20 14:15:53 +08:00
2026-08-28 14:58:48 +08:00
2026-08-31 19:19:38 +08:00
2026-08-19 17:34:52 +08:00
2026-09-08 00:39:12 +08:00
2026-08-31 19:34:01 +08:00
2026-09-14 01:28:54 +08:00
2026-08-30 13:19:42 +08:00
2026-08-26 00:53:32 +08:00
2026-08-30 16:01:40 +08:00
2026-09-06 13:46:29 +08:00
2026-08-28 00:55:19 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-07-26 22:27:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-08-30 15:44:04 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-09-14 01:28:46 +08:00
2026-08-30 17:57:12 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 15:30:11 +08:00
2026-09-01 21:28:15 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-09-07 10:20:03 +00:00
2026-08-09 22:18:22 +08:00
2026-05-07 16:19:21 -07:00
2026-08-31 01:13:07 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-07 23:27:05 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-08-02 13:23:45 +08:00
2026-09-10 23:55:18 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-07-24 18:16:04 +08:00
2026-09-10 23:45:21 +08:00
2026-05-12 02:20:30 +08:00
2026-09-06 13:46:29 +08:00
2026-08-31 01:13:07 +08:00
2026-08-25 02:24:35 +08:00
2026-09-11 04:39:34 +08:00
2026-09-11 04:39:34 +08:00
2026-09-11 04:39:25 +08:00
2026-09-11 04:39:34 +08:00
2026-08-31 01:13:07 +08:00
2026-09-11 04:39:34 +08:00
2026-08-20 14:15:53 +08:00
2026-08-20 14:15:53 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00