Pdf Viewer shows annotation tool popup on load

Hi,

I recently updated my Blazor Wasm syncfusion dlls to from v. 18.3.0.53 to 19.3.0.53. I discovered this weird new bug where apparently the font size selector popup is opened automatically on pdf viewer component / document load. This is very weird since i have hidden all the annotation tools so this shouldn't be possible. The popup is always rendered to top left.


Inspecting DOM reveals that most of the pdf viewer related tools are already rendered there. Why?



Here's the markup:


Code behind:


How can i fix this?

br. Ville



3 Replies 1 reply marked as answer

DM Dhivyabharathi Mohan Syncfusion Team November 18, 2021 02:13 PM UTC

Hi Ville, 
 
 
We have tried to replicate the reported issue with the provided details in the version v19.3.0.53, but we were unable to replicate it. On further checking, the popup element is shown only when clicking the font size drop-down, so there is no chance to be shown while initializing the component. However, we can fix this issue as a workaround solution. Kindly use the below code snippet to get the issue resolved. We have shared the simple Blazor web assembly sample in which we have tried to replicate this issue. 
   
   
Code Snippet:   
   
<style>  
    .e-pv-prop-dropdown.e-popup {  
       visibilityhidden !important;  
    }  
</style>  
   
 
 
 
 
Could you please try the sample and let us know whether you are facing the same issue with the provided sample? And kindly share the modified sample in which you are facing this issue. It will be helpful for us to investigate further and assist you better. 
 
 
Regards, 
Dhivya. 


Marked as answer

VI Ville November 18, 2021 08:54 PM UTC

Thanks, that css worked. Bit hackyish IMHO but it works. There isn't any intentional code in my app that should open that popup element. It just shows up without that css forcing.





DM Dhivyabharathi Mohan Syncfusion Team November 20, 2021 06:05 AM UTC

Hi Ville, 
  
  
Thank you for your update. We are glad to know that the reported issue is resolved. And as we mentioned in our previous update, the popup element will be shown only when clicking the font size drop-down. So, there is no chance to be shown while initializing the component. Could you please share the modified sample in which you are facing this issue? It will be helpful for us to analyze further and provide the details at the earliest. 
  
  
Regards, 
Dhivya. 


Loader.
Up arrow icon