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.
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:
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:
Regards,
Bharathi S
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.
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