[BUG] Set page dynamically
See original GitHub issueDescribe the bug Errors are thrown if you change the page prop after init.
How to Reproduce Steps to reproduce the behavior:
- 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:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Very neat thanks! Well done!
Implemented in v2.2.1
Code: https://github.com/ansu5555/pdf-viewer-reactjs/blob/master/example/src/App.js#L312-L500 Live Example: https://ansu5555.github.io/pdf-viewer-reactjs/#ec