You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As title, this is a follow up issue after #6. So could we add an option to completely disable/hide the thumbnail or the whole sidebar (if sidebar is going to add more functionalities in the future).
Thanks.
The text was updated successfully, but these errors were encountered:
Yes I know react-pdf can hide any icons in toolbar/sidebar, and I guess it can also hide the entire sidebar by using some CSS tricks, however I think this way is not that elegant, so probably it is better to add some kind API/toggle to hide the sidebar so other parts can layout accordingly based on the toggle.
For my use cases, I am working on a resume builder, which mostly produces PDF with only 1 or 2 pages, it doesn't make any sense to give users a sidebar just to show thumbnails or table of contents (in the future). Of course, sidebar with thumbnails/table of contents do make sense for long PDFs like books.
Hi @xiaohanyu, just want to update you that we've added sidebarEnable to show/hide the sidebar easily in the new version. Hope this makes it more convenient for your use case.
Hello,
As title, this is a follow up issue after #6. So could we add an option to completely disable/hide the thumbnail or the whole sidebar (if sidebar is going to add more functionalities in the future).
Thanks.
The text was updated successfully, but these errors were encountered: