sfPdfViewer searchbar input text cut-off

I noticed an issue where the input in the SfPdfViewer search bar is being cut off. Additionally, there is a side effect where two "x" (clear) buttons appear. Please see the attached image below for reference.

Image_7839_1734418882475


I tried checking the Syncfusion MAUI Controls Gallery, and there it works as expected. Also when i try to reproduce it in an new project it works just fine. So it must be something in my project. 

It also happens when i try to make a new empty page with only the pdfviewer in my project. 


Does anyone have any idea what might be causing this issue? Could it be related to the localization resources? 

How can I debug this further? I am unable to locate the code associated with the UI of the SfPdfViewer.



Versions:

  • Syncfusion.Maui.PdfViewer: 27.1.58
  • Syncfusion.Licensing: 27.1.58
  • Microsoft.Maui.Controls: 8.0.90
  • Microsoft.Maui.Controls.Compatability: 8.0.90
  • Microsoft.Maui.Essentials: 8.0.90
  • CommunityToolkit.Maui: 8.0.1

3 Replies

BS Bharathi Selvam Syncfusion Team December 18, 2024 07:00 PM UTC

Hi Tom,

We were unable to reproduce the issue: "Input text in the search bar is cut off, and duplicate clear buttons appear in the PDF Viewer."  We have checked in the German language localization applied sample. During our investigation, we also attempted to apply styles to the entry at the sample level but could not replicate the behavior.

Could you please confirm if any custom styles have been applied to the entry at the application level?

Please find a sample attached, in which we tried to reproduce the issue on our end. Could you please check the sample and let us know whether we have missed out on anything while replicating the issue?

Please share the following details to analyze this issue further and assist you with a better solution:

  • Modified sample
  • Exact steps to reproduce the sample
  • Any other specific information that could help us to replicate this issue.

Regards,

Bharathi S



Attachment: PdfViewerLocalizationSample_f6bec400.zip


TV Tom van Marrewijk December 19, 2024 09:40 AM UTC

Hi,


Thank you for the attempt. 

I'm not sure why or how, but i managed to fix the issue in my project by updating it from .NET 8 to .NET 9 and updating all the installed NuGet packages. 



I Also coudn't reproduce the issue in any other project, even with the same version.







BS Bharathi Selvam Syncfusion Team December 20, 2024 02:05 PM UTC

Hi Tom,

We’re glad to hear that the issue has been resolved in your project after updating to .NET 9 and refreshing the NuGet packages. Please feel free to reach out if you need any further assistance.

Regards,

Bharathi S


Loader.
Up arrow icon