We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

SfPdfViewer becomes unresponsive after some time.

I have followed the getting started code here: https://help.syncfusion.com/xamarin/sfpdfviewer/getting-started

The only change I made was that instead of loading a pdf doc from the project itself I made it load a random PDF document from the web 


protected override void OnAppearing()
        {
            base.OnAppearing();
            //Load the PDF
            byte[] pdfData = null;
            using (var wc = new WebClient())
            {
                pdfData = wc.DownloadData(new Uri("http://www.pdf995.com/samples/pdf.pdf"));
            }

            pdfViewerControl.LoadDocument(new MemoryStream(pdfData));
        }

Intermittently the viewer becomes unresponsive and I cant interact with it like scrolling or zooming

1 Reply

GR Gayathri Ramalingam Syncfusion Team July 16, 2019 12:40 PM UTC

Hi Anthony, 
We tried to reproduce the issue “PDF Viewer is not responsive while loading PDF document from URL” in Xamarin.Forms, but it is working fine as expected. Kindly refer the sample in the below link which we created to reproduce the reported issue.   
 
Kindly share the following details to analyze more on this issue and it will be helpful for us to analyze more on this issue.   
1.       Modify / Simple sample with which the issue could be reproduced.   
2.       Replication procedure to reproduce the issue or screen shot illustrating the issue.   
3.      Android / iOS device specification with the OS version.   
 
With Regards, 
Gayathri R 


Loader.
Live Chat Icon For mobile
Up arrow icon