ansu5555 / pdf-viewer-reactjs

A simple PDF viewer for React js
https://ansu5555.github.io/pdf-viewer-reactjs/
MIT License
139 stars 64 forks source link

[BUG] #79

Open pavandevaguptapu opened 3 years ago

pavandevaguptapu commented 3 years ago

Describe the bug when using custom zoom(zoom in and zoom out) on landscape pdf the pdf page is not shown How to Reproduce Steps to reproduce the behavior:

  1. load any landscape pdf(1 or more pages)
  2. initially page 1 is shown in thumbnail and in canvas
  3. click on zoom(custom zoom function) page one is disappearing (if more than two pages below steps)
  4. click on thumbnail page 2
  5. page 2 is shown with zoom

Expected behavior

  1. load any landscape pdf(1 or more pages)
  2. initially page 1 is shown in thumbnail and in canvas
  3. click on zoom(custom zoom function) page one should be shown zoomed (if more than two pages below steps)
  4. click on thumbnail page 2
  5. page 2 is should be shown.

A clear and concise description of what you expected to happen. page is disappearing on zoom (landscape pdf)

Screenshots Please add screenshots to help explain your problem.

PDF File chrome screen shots Screenshot 2021-05-20 at 4 10 53 PM Screenshot 2021-05-20 at 4 11 01 PM ios 11 (14.4) Screenshot 2021-05-20 at 4 11 58 PM Screenshot 2021-05-20 at 4 12 09 PM

)

Please attach the pdf file.

Details (please complete the following information):

Additional context Add any other context about the problem here.