Ability to define custom zoom levels
Feature request
It would be nice to have the ability of customising the hard coded zoom levels. E.g. I want to only provide more or less options for the level selection.
Code reference
https://github.com/react-pdf-viewer/react-pdf-viewer/blob/ef6fbd127a0f5ae13ed54c84f55de25ff012fcf1/packages/zoom/src/ZoomPopover.tsx#L27
Related issue
We're having issues "rendering" the pdf on an iPad with 300% or 400% zoom level. The pdf is not shown at all, but returns when reducing the zoom level to 200% or less. Tested on iPad with Safari 14 and 15. No related error message is shown in the console though.
That's a great suggestion, @AlexanderNo ❤️ I will support it.
@AlexanderNo Please upgrade to the v2.10.1. I also added new example here https://react-pdf-viewer.dev/examples/customize-the-zoom-levels/
Let me know if you need anything else.