SfPdfViewer does not resize properly

See that attached Blazor webassembly example.

1. Browser for a PDF document.

2. Collapse the left pane

Result => PdfViewer control contents are not resized properly.

Is there some way to force the resize (as a work around)?

Regards,
Arthur

Attachment: SfPdfViewerResizeIssue_b8e8bf5f.zip

8 Replies

AA Akshaya Arivoli Syncfusion Team May 13, 2020 10:00 AM UTC

Hi Arthur, 

Thank you for contacting Syncfusion support. 

We can reproduce the reported issue with the provided sample. We will analyze further on it and update you with more details on May 15th, 2020 


Regards, 
Akshaya 



SM Selvakumar Murugan Syncfusion Team May 18, 2020 05:01 PM UTC

Hi Arthur,

Sorry  for Inconvenience caused.

We are the validating the reported issue with high priority and we will update  with more details on 19th  May 2020.


Regards,
Selvakumar
 



AA Akshaya Arivoli Syncfusion Team May 19, 2020 09:08 AM UTC

Hi Arthur, 

Thank you for your patience. 

To overcome reported problem, we suggest you to use this UpdateViewerContainer method when expand and collapse the left pane. Based on this, we have modified the provided samples and it can be downloaded from the below link. 
 

Please try it and revert us with more details if you need any further assistance. 

Regards, 
Akshaya 



AB Arthur Butler May 19, 2020 05:42 PM UTC

Thank you.  Calling UpdateViewerContainer() works.

Regards,
Arthur


AA Akshaya Arivoli Syncfusion Team May 20, 2020 04:45 AM UTC


Hi Arthur , 

Thank you for your update. We are glad to know that the reported issue is resolved.  

Regards, 
Akshaya 



AB Arthur Butler June 17, 2020 02:03 AM UTC

Calling UpdateViewerContainer does resize the PdfViewer content, but does not update the toolbar.  See attached image.  There is plenty of room on the Annotations Toolbar, but the items are still in the drop down list.  If I manually resize the browser window, the the toolbar items are all on the toolbar and there is no drop down list.

Regards,
Arthur

Attachment: annotationstoolbar2_21ad6780.zip


AA Akshaya Arivoli Syncfusion Team June 17, 2020 08:03 AM UTC


Hi Arthur,  

We can reproduce the reported issue with the provided details. We will analyze further on the reported issue and update you with more details on June 19, 2020. 

Regards, 
Akshaya 



AA Akshaya Arivoli Syncfusion Team June 23, 2020 12:43 PM UTC

Hi Arthur, 

We have Confirmed that the " Pdfviewer Toolbar Items not updated properly when update pdfviewer size using UpdateViewerContainer method. " is a defect and logged the defect report for the same. The fix for the issue will be included in our upcoming weekly NuGet release which is estimated to be available on 1st week of July 2020. You can track the status using the below link 
 
 

Regards, 
Akshaya 


Loader.
Up arrow icon