diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.22k stars 1.11k forks source link

Blink when render page number #2691

Open tugusSMSP opened 1 month ago

tugusSMSP commented 1 month ago

Describe the bug when i render the page number pdf, my web page allways blinking

To Reproduce Steps to reproduce the behavior including code snippet (if applies):

  1. I put this code <Text style={styles.pageNumber} render={({ pageNumber, totalPages }) => ( ${pageNumber} / ${totalPages} )} fixed />
  2. the web page blinking

why this can happen?