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?
yes
Are you using the WebViewer server?
no
Does the issue only happen on certain browsers?
no
Is your issue related to a front-end framework?
yes
Is your issue related to annotations?
no
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
instance.UI.setLayoutMode(instance.UI.LayoutMode.Single);
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