intelllex / react-pdf

Simple and fancy PDF Viewer based on pdf.js 📄⚡️
https://intelllex.github.io/react-pdf
119 stars 34 forks source link

Thumbnail hiding and putting viewer to container #20

Open mmannings opened 3 years ago

mmannings commented 3 years ago

Hi, how could I hide Thumbnail usage ( onToggleThumbnail={false}, onToggleThumbnail='false' - those variants don't work). Also I've a problem with resolution of Viewer inside my container, pages go lower and slider appears on a whole page, than on a container. Here's what I mean: image

As you can see green is my container and I can't figure out how to position viewer and it's elements inside my container without going through the border.

Here's embed using for example: image

Here I put viewer inside the container and slider appears in it, not on a browser page. Also viewer slightly went out of the border on the bottom, but that's not a big deal for now.

trinhngocdieu commented 3 years ago

hi @SoulsMark , sorry for the late response! actually, the thumbnail will be hidden by default, can you try to remove the onToggleThumbnail field?