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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

151022 Jan 28,2020 12:55 PM UTC Jan 29,2020 11:35 AM UTC Blazor 1
loading
Tags: PDF Viewer
Dean Walker
Asked On January 28, 2020 12:55 PM UTC

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.




Akshaya Arivoli [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon