Skip to content
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

First pages of book do not display - MacOS Safari #103

Open
bluefirepatrick opened this issue Jan 24, 2025 · 2 comments
Open

First pages of book do not display - MacOS Safari #103

bluefirepatrick opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bluefirepatrick
Copy link
Member

There is an issue where the first pages of a book will not be displayed in ts-toolkit test app/vanilla on Safari for macOS. Resizing the browser window fixes it.

Chrome for macOS and Firefox for macOS do not have this issue.

Steps to repeat:

  1. On Safari 18.2 (latest) for macOS Sequoia 15.2 (latest)
  2. Clone and run develop branch of go-toolkit.
  3. Clone and build develop branch of ts-toolkit.
  4. Change line 25 of testapp/vanilla main.ts to: publicationURL = "http://localhost:15080/bW9ieS1kaWNrLmVwdWI/manifest.json" so that reader loads Moby Dick from go-tookit.
  5. Open the reader via http://localhost:5174
  6. The first page of the book will not show up and paging forward will show blank pages for the next four pages.
  7. Reload the reader. Again, the first page does not show up but resize the browser window; the page shows up and subsequent pages also display.
@chocolatkey
Copy link
Member

@bluefirepatrick FYI you can just include the parameter in the URL, and you won't have to change the code, so http://localhost:5173/?book=https%3A%2F%2Fpublication-server.readium.org%2FbW9ieS1kaWNrLmVwdWI

@chocolatkey
Copy link
Member

@bluefirepatrick I am unable to reproduce. See the screenshot:
Image
Is there any other detail you could provide?

@chocolatkey chocolatkey added the bug Something isn't working label Jan 27, 2025
@chocolatkey chocolatkey self-assigned this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants