internetarchive / internetarchive/bookreader
Flipping forward on preview page sometimes causes infinite recursion error
Open
difficulty: medium
priority: medium
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 491
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 3
Description
Sentry: https://sentry.archive.org/organizations/ia-ux/issues/598484
To repro:
1. Go to https://archive.org/details/dontsweatsmallst00carl_0/page/n7/mode/2up
2. Hit the "right" key on your keyboard a few times
Expected: it should flip right past the the preview pages until it goes to the back cover
Actual: It throw an error and doesn't flip past the preview page "Uncaught InternalError: too much recursion"
Likely caused by the changes to `jumpToIndex` in #1480
Contributor guide
Assessment
This issue has not been assessed yet.