-
-
Notifications
You must be signed in to change notification settings - Fork 575
Description
Bug Description
When clicking a chapter button in the table of contents to switch chapters, the table of contents displays abnormally. Specific issues include: overlapping chapter titles, missing chapter entries, or misaligned entries (e.g., some titles shift left/right beyond the normal range).
Reproduction Steps:
- Open the app and navigate to content with a table of contents (e.g., a book or document with multiple chapters);
- Open the table of contents panel;
- Click any chapter button (other than the current chapter) to switch;
- Observe the display status of the table of contents after switching.
This issue is consistently reproducible and has not been fixed in multiple versions (verified in version 0.9.65 and earlier).
[screenshot 1: Screenshot of the table of contents displaying normally before switching chapters]
[screenshot 2: Screenshot of missing or misaligned entries in the table of contents after switching chapters]
Expected behavior
After switching chapters by clicking a chapter button in the table of contents, the table of contents should display normally: all chapter entries are clearly visible, with no overlapping or misalignment, and the current chapter (if designed to be highlighted) should be correctly highlighted.
Technical inputs
- Operating System: iPadOS 18.5
- Readest Version: 0.9.65
Additional notes: This issue persists across multiple versions, suggesting it may be related to the rendering logic of the table of contents component when chapter switching triggers a state update (e.g., the table of contents UI is not properly redrawn or positioned after switching).
Also, a special shoutout to the author—updates have been frequent lately, and it's clear how much care goes into this product. Great work!