We want to show only one page at a time. Don’t want to display the first half of the next page. as shown in the image attached.
We want to swipe the page horizontally instead of scrolling it vertically. Is it possible?
Please help us out with these issues mentioned above. Any help will be highly appreciated.
(upload://e2WhibKDTmJx9UhsWfFUfAnD7ow.png)[quote=“himanshu, post:1, topic:940, full:true”]
PDF.js Express Version
Detailed description of issue
We want to show only one page at a time. Don’t want to display the first half of the next page. as shown in the image attached.
We want to swipe the page horizontally instead of scrolling it vertically. Is it possible?
Please help us out with these issues mentioned above. Any help will be highly appreciated.
(upload://e2WhibKDTmJx9UhsWfFUfAnD7ow.png)
Hi Logan,
Thanks for responding,
I am a little bit confused here. Are you asking me for the particular pdf file?
My issue is that
We want to show only one page at a time. Don’t want to display the first half of the next page in viewer. as shown in the image attached how can we do it in pdfjs express?
We want to swipe the page horizontally instead of scrolling it vertically. We went through the documentation and and found an api “instance.setSwipeOrientation()”. But it doesn’t seem to be working for us.
Sorry - I think I misunderstood your question. I thought you were running into a bug where half of one page was overlapping another (the PDF in your screenshot kind of looks like that).
To only show a single page at a time you can call: