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

  • Posted 13 December 2025, 6:06 am EST

    Hey Kartik,

    I apologize, but I will not be able to provide a sample project. I do not have any time besides the normal project tasks, and creating one would be more difficult than I originally thought.

    Best Regards,

    Gabor

  • Posted 16 December 2025, 4:35 am EST

    Hi Gabor,

    We completely understand your concerns. However, it would be quite difficult for us to investigate this further without a reproducible sample project. If the issue does not occur in a simple sample, could you please share a stripped-down version of your actual project that reproduces the behavior? This would greatly help us analyze the issue and assist you more effectively.

    If you are not comfortable sharing your project on a public forum due to privacy considerations, you are welcome to create a support ticket on our private support portal instead.

    Best Regards,

    Kartik

  • Posted 6 January 2026, 10:06 am EST

    Hi Kartik,

    I have opened a ticket on the private support portal. I could only reproduce the issue with the hideAnnotationPopups property this time, not with navigation.

    Best Regards,

    Gabor

  • Posted 7 January 2026, 12:57 am EST

    Hi Gabor,

    Thank you for sharing the sample project. We will review it and continue the discussion in that thread to avoid any confusion.

    Best Regards,

    Kartik

  • Posted 7 January 2026, 4:16 am EST

    Hi Kartik,

    You’re welcome! All right.

    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