Bookmark/outline navigation issue

WebViewer Version:

Do you have an issue with a specific file(s)?
yes , with some scanned pdfs or images converted to pdfs
Can you reproduce using one of our samples or online demos?
Are you using the WebViewer server?
Does the issue only happen on certain browsers?
Is your issue related to a front-end framework?
Is your issue related to annotations?
Please give a brief summary of your issue:
(Think of this as an email subject)
Bookmark/outline not navigating to correct page number

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
when I open the following pdf file in webviewer
it displays all bookmarks,
third bookmark is not navigating to the correct page 4 , it is navigating to 5th page.
this issue occurs when we set layoutmode is continuous (instance.UI.setLayoutMode(instance.UI.LayoutMode.Continuous);

if we set SIngle layout mode, it is working as expected
sample test.pdf (3.0 MB)

Please provide a link to a minimal sample where the issue is reproducible:

Hi there,

Thank you for contacting WebViewer forums,

Looking at the provided PDF, it looks like clicking on the ‘second file’ outline goes to page 5 on WebViewer when it should be going to page 4.

We are adding this issue for the product team to evaluate. When this gets fixed, it will be noted in our change logs, please keep an eye out for when it will be fixed here:

Best regards,
Kevin Kim

Hi there,

Just to provide an update to this,

It looks like this was happening due to an internal rotation of the document on Page 4 to be set to 270. If you reset this to 0, it will work as expected:

Best regards,
Kevin Kim