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

Viewer pagination #533

Closed
eyeseast opened this issue Apr 30, 2024 · 1 comment
Closed

Viewer pagination #533

eyeseast opened this issue Apr 30, 2024 · 1 comment
Labels
viewer Issues tied to the document viewer

Comments

@eyeseast
Copy link
Collaborator

This applies to the document and text modes:

  • I want to be able to link to a specific page.
  • I want to know what page I'm on as I scroll through a long document.
  • I want to go to a specific page, using the paginator control
@eyeseast eyeseast added the viewer Issues tied to the document viewer label Apr 30, 2024
@eyeseast eyeseast added this to the SvelteKit milestone Apr 30, 2024
@allanlasser
Copy link
Member

From #532:

When trying to load a specific page by target (i.e. refreshing a URL ending in #p10), the element is not brought into view. I believe the issue is that the element being targeted is not present when the page loads—it's loaded in after. There's a small flash where the mode is "Document" and the view is empty, before switching to "Text" and displaying the text pages. Either the page should be scrolled into view after streaming finishes (example) or we should change how we're server-rendering the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
viewer Issues tied to the document viewer
Projects
None yet
Development

No branches or pull requests

2 participants