Problem with the hideAnnotationPopups and navigation viewer options

Posted by: gpatyi_c on 29 October 2025, 8:24 am EST

  • Posted 29 October 2025, 8:24 am EST

    Hi,

    I have the package implemented in an Angular application. If either the hideAnnotationPopups or navigation option is defined on the viewer, I get a bug. If I open the editor once, then close it, then open it again, the file does not load and there are errors printed out to the console.

    Could you please look into the issue?

    I have attached the errors.

    Thank you in advance!

    Best Regards,

    Gabor

  • Posted 30 October 2025, 9:01 am EST

    Hi Gabor,

    We downloaded our Angular demo for DsPdfViewer from the link below, updated the app.component.ts file to use the hideAnnotationPopups and navigation viewer options as shown below, and ran the project. Unfortunately, we were unable to reproduce any of the errors you mentioned in the browser console.

    const viewer = new DsPdfViewer("#viewer", {
          hideAnnotationPopups: true,
          navigation: {
            showFirstButton: true,      
            showPrevButton: true,       
            showPageInput: true,        
            showNextButton: true,       
            showLastButton: true,       
            pageInputWidth: 90,         
            pageCounterFormat: "{{current}}/{{total}}"
          }
        });
        viewer.addDefaultPanels();
        viewer.open("assets/pdf/helloworld.pdf");

    https://developer.mescius.com/document-solutions/javascript-pdf-viewer/demos/reference-samples/Angular/angular-example/angular

    Could you please share a small Angular sample project that reproduces the issue you are facing? Additionally, since you mentioned that the issue occurs after following certain steps, please share a short video demonstrating those steps. This will help us investigate the problem further and provide better assistance.

    Best Regards,

    Kartik

  • Posted 30 October 2025, 10:13 am EST

    Hi Kartik,

    Thank you for looking into it. It’s pretty busy on the project currently, so I cannot provide you with a sample project immediately. I will try to share one as soon as I can.

    Thank you!

    Best Regards,

    Gabor

  • Posted 31 October 2025, 12:11 am EST

    Hi Gabo,

    Sure, please take your time to prepare the sample project. You can share it whenever your schedule allows, and we’ll pick up from there.

    Best Regards,

    Kartik

  • Posted 31 October 2025, 4:25 am EST

    Hi Kartik,

    Thank you.

    Best Regards,

    Gabor

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels