PDF Viewer not working in mobile. My intention was trying to make read-only.

Hi Syncfusion Team, I am currently using 

@syncfusion/ej2-react-pdfviewer": "^30.2.6"

And I am using this config to display PDFs:

const resourceUrl ='https://cdn.syncfusion.com/ej2/23.2.6/dist/ej2-pdfviewer-lib';


<PdfViewerComponent
id="pdfViewer"
  ref={ref}
  className={styles.pdfViewer}
  resourceUrl={resourceUrl}
  enableToolbar
  enableNavigationToolbar={false}
>
   <Inject
      services={[
      Toolbar,
      Magnification,
      Navigation,
      Annotation,
      LinkAnnotation,
      BookmarkView,
      ThumbnailView,
      Print,
      TextSelection,
      TextSearch,
      FormFields,
      FormDesigner,
      PageOrganizer,
    ]}
   />
</PdfViewerComponent>


In Dekstop version, it works pretty well but in Mobile version it seems its broken. Please I will appreciate your help.



1 Reply

PA Priyadharshini Annamalai Syncfusion Team August 29, 2025 11:33 AM UTC

Hi

We’ve provided a sample along with a video reference below. In this sample, the toolbar is enabled and the document path has been configured accordingly.

Could you please load the sample in your environment and check if the issue is resolved? If the issue still persists, we kindly request you to share the modified sample along with a video reference demonstrating the problem. This will help us accurately replicate and investigate the issue from our end.

Please let us know if you need any further assistance.


Sample: Kk67rb3h (duplicated) - StackBlitz

Video: ⁠Mobile Video


Regards,

Priyadharshini


Loader.
Up arrow icon