Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to apply prsimazoom on react-pdf Pages separately? #26

Open
jackvik opened this issue Jul 29, 2021 · 2 comments
Open

Comments

@jackvik
Copy link

jackvik commented Jul 29, 2021

I applied prismazoom on the array of pages created by Page of react-pdf. and on zoomout, it takes me back to the first page itself.I tried applying this inside the array where i am rendering per page, wrapped it like {Array.from(arr,()=> )} but doing this displays only one page.

@sylvaindubus
Copy link
Owner

Hi. I don't know, I never used react-pdf. Maybe you can wrap each page in a different PrismaZoom wrapper?

@jackvik
Copy link
Author

jackvik commented Aug 2, 2021

Wrapping each page in PrismaZoom is breaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants