Page transition issues in PDF.js viewer

Which product are you using?
PDF.js Express Viewer

PDF.js Express Viewer

Detailed description of issue
In the continuous page transition option, 2 scroll bars are shown; 1 for the document and one for the page. This causes several issues:

  1. Clicking on search results in the search window does not display the highlighted phrase in the document if both the inner and outer scroll bar are not correctly positioned.
  2. Page numbers are not displayed until the outer scroll bar is at the bottom of the page.
  3. To avoid the double scroll bars, if you switch to page by page transition, scrolling down opens the next page before user can scroll to the bottom of the current page.

Expected behaviour
Can we remove the internal scroll bar in the continuous page transition mode to access the document and search results better? If so, how do we do that?
If not, are there any alternate options to resolve above mentioned issues?

Does your issue happen with every document, or just one?
Every document

Link to document

Code snippet

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hi there,

This is an issue with your application and not PDF.js Express. Express fills the height of the container you mount it in, and that needs to managed from within your own application.