react-pdf
react-pdf copied to clipboard
The whole html page flickers each time the next button is clicked,initially but once the every pdf page is rendered it runs smoothly.I
Before you start - checklist
- [X] I followed instructions in documentation written for my React-PDF version
- [X] I have checked if this bug is not already reported
- [X] I have checked if an issue is not listed in Known issues
- [X] If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
I have tried the fix for flickering in issue #308 but it didn't work.
This is the code i used in my web application.
What's the problem here?I couldn't figure it out.
Steps to reproduce
Please check it.
Expected behavior
Navigate to pages without flickering the html content page
Actual behavior
Flickers each time I navigate to the next page on the first render.
https://user-images.githubusercontent.com/52375530/231116773-2f4c5147-b611-42aa-adb2-14c909dfcc0d.mp4
Additional information
No response
Windows 10,Next js
- Browser: Google Chrome
- React pdf version:v6.2.2
- React version:18.2.0