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

PDFViewerServer - Spinner stays shown when zoom is 75%, FitPage, or Automatic

Hi,

I'm using the EJ2.Blazor.PDFViewerServer version 17.4.44

If I have a pdfviewer control declared and it is inside a container that forces the viewer to use 75%, FitPage, or Automatic then after changing the DocumentPath the spinner does not hide after the document has loaded.

As described I'm loading the document by changing the value of the DocumentPath variable and not by using the PdfViewer.Load event (although it seems to do the same using the event).


Markup -

<EjsPdfViewerServer Height="@strPdfViewerHeight" @ref="@PDFViewer" DocumentPath="@strFileArchivePath" ToolbarSettings="@ToolbarSettings"></EjsPdfViewerServer>



After the document has loaded if you the use the toolbar to change the zoom to 100% or 200% it then shows the document and hides the spinner, if you then change the zoom back to FitPage, Automatic or 75% after the document is shown it then shows a glitched spinner overlayed over the document.

This only seems to happen if the viewer is in a container that is restricting its width, i for example have it in the right column of a 3 column layout.

Interestingly if you are in chrome and you press F12 to show the debug console you can force this behaviour because it squeezes the width of the pdfviewer.

This does not happen in the 17.4.29-beta 

Any help appreciated, i hope you can reproduce the error and suggest a workaround.

Many thanks,

Dean.




1 Reply

AA Akshaya Arivoli Syncfusion Team January 29, 2020 11:35 AM UTC

Hi Dean, 

Thank you for using Syncfusion products. 

We are unable to reproduce the reported issue with the provided details. We have shared the sample in which we have tried to reproduce it in the below link, 


Note: Kindly ensure to upgrade NuGet, Script and CSS version in your project. 

Please try this and if you have any concerns, revert us with the modified sample with replication procedure and the PDF document in which you are facing the issue. These details will be helpful for us to investigate further on your issue and assist you better. 

Regards, 
Akshaya 


Loader.
Live Chat Icon For mobile
Up arrow icon