Skip to content

Incorrect Page Displayed with Thumbnail View use-cases in Actual Mobile / Chrome Mobile Simulator's #2809

@umedSut

Description

@umedSut

Hi @stephanrauh ,

Good Day.

PDF Viewer configured at my end:

<ngx-extended-pdf-viewer [authorization]="someToken"
[src]="'someDoc.pdf'" [textLayer]="true" 
(pagesLoaded)="onPagesLoaded($event)" (pageChange)="onPageChange($event)"
[customSidebar]="fancySidebar" [zoom]="auto">

I am facing the following issue in ngx-extended-pdf-viewer in the following scenario.
Issue observed for Actual Mobile Device / Chrome Mobile Simulator only with sidebar thumbnail view.

I have Big PDF Size more than 32 pages.

Please Find Below points for Reproducer:

Issue 1 :
On Actual Mobile Device / Chrome Mobile Simulator. suppose i am on page 1 and after that opened thumbnail view.
Scroll down to thumbnail view pages and click on last page 32. (Right side main content is auto fit on device container height for me its fit 3 pages on right)
Closed the Thumbnail View
Observed that Page 30 is displayed in PDF Viewer.
But the Expectation was Page 32 should displayed because I clicked on page 32 on thumbnail view.

Issue 2:
On Actual Mobile Device / Chrome Mobile Simulator. suppose i am on page 1 and after that opened thumbnail view.
Scroll down the Right side Main Content pages to the last page continuously, and scroll back to the top of the viewer.
some time observed that Page number is not properly showing on Input Fields. (Its an Intermediate issue observed)

Repeat this scroll behavior 2 or 3 time, most of the time it showing wrong page number bind to input fields,

I have checked the below pdf js library (Issue Not Reproducible on JS library because Thumbnail View is displayed on top of Main Contents)
https://mozilla.github.io/pdf.js/web/viewer.html

Metadata

Metadata

Assignees

Labels

23considering itMaybe I'll implement this, maybe not. I haven't made up my mind yet. It's an interesting proposal!enhancementNew feature or requestnuisancea bug that only shows in the logs; or: a bug with an obvious work-around every user finds quickly

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions