-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination Controls Jump to Chapter Beginnings #21
Comments
Thanks for logging these issues as it will help keep track of side effects and serve as a reminder to double-check if they are solved or need more work after migrating. So there are two side-effects here, from these missing pieces in TS-toolkit: At first sight it should explain the entire issue, probably also the error message, although I’ll take a look as I already fixed others similar to this one. To clarify what’s happening:
@HadrienGardeur What is your opinion on scroll event? Do you want me to temporarily implement this in Playground or add it directly into ts-toolkit, or wait as Preferences API may have an impact? If it’s added into ts-toolkit I’m not sure it will not create conflicts in the DM Reader, which is why I’m not sure what’s the best option is. |
Sorry that I forgot to chime in on that matter. I strongly believe that this is something that the I'm not so sure that the Preferences API has much of an impact on that since the |
Environments Tested:
MacOS - Safari and Chrome
Steps to Reproduce:
Build/run the scroll-paginated branch
Choose Moby Dick
Use Right Arrow/Page Forward button to go to Chapter 3
Switch to Scrollable via the Actions Menu
Scroll to end of page and Choose Next
Switch back to Paginated via the Actions Menu
Choose Left Arrow/Go Backwards
Expected Result:
Left arrow would take you to the last page of Chapter 3.
Actual Result:
Left arrow takes you to the start of Chapter 3 and subsequent paging is stuck in 'next resource' mode.
Notes:
![Screenshot 2024-11-06 at 9 32 09 AM](https://private-user-images.githubusercontent.com/241369/383678393-9eab90bd-f48c-496f-bd61-39e2fb896735.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMjU1MzMsIm5iZiI6MTczOTAyNTIzMywicGF0aCI6Ii8yNDEzNjkvMzgzNjc4MzkzLTllYWI5MGJkLWY0OGMtNDk2Zi1iZDYxLTM5ZTJmYjg5NjczNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxNDMzNTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNmMxZWZlN2FjNGQ5YzUxZGVmZGYyZjE1ZTRmZTczYjFkYjVlYzg4NzUxMmEzYjFlOWQ0NzkzNTkzMDdiZjkxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Wlgy5HtXBMXtlux-rsSP3a0dTsdzmyXjyoYAXSqaxhE)
At one point I saw a runtime error (included) but I do not have steps to reproduce that error yet.
The text was updated successfully, but these errors were encountered: