question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Set page dynamically

See original GitHub issue

Describe the bug Errors are thrown if you change the page prop after init.

How to Reproduce Steps to reproduce the behavior:

  1. Dynamically set the page prop of PDFViewer

<PDFViewer document={{ url: "", }} page={pageNumber} />

Expected behavior Ability to programatically change the page of an initialized viewer.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
emorlingcommented, Jan 30, 2021

Very neat thanks! Well done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

PHP Dynamic page css bug - html - Stack Overflow
i have a dynamic php web page localhost/ctd/index.php. All working good except if i add a forward slash to it like below:
Read more >
Open pages dynamically does not work | Voters
According to https://docs.appgyver.com/ui/navigation#setting-target-page-dynamically. I can set the Page in "Open Page" via a formula.
Read more >
Dynamic item page URL bug? | Velo by Wix - Wix.com
I have organised a set of dynamic pages to display information from a project database as follows: Dynamic pages: by category (filter: boolean...
Read more >
Conflict between pagination and dynamic routes in the same ...
Going to page @FredKSchott since he's been the champion of dynamic routes. Is this a flaw in the design or just a bug?...
Read more >
121099 - Dynamically resizing canvas and redrawing the ...
If this issue is blocking you, I suggest adding a -webkit-transform:translateZ(0) property to the canvas (or any other element in the page) which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found