syncfusion / flutter-widgets

Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.
1.55k stars 756 forks source link

syncfusion_flutter_pdfviewer | No results when searching for a phrase containing a hyphen #2038

Open Xavier-Claude opened 3 weeks ago

Xavier-Claude commented 3 weeks ago

Bug description

I've observed that when using the search feature in PDF for a phrase containing a hyphen, it yields no results. It will find the word before and after the hyphen separately, but not if you include the hyphen. No issues with underscores or other common symbols like commas, periods, brackets (as far as I have tested).

Steps to reproduce

  1. Use PDF viewer to open a PDF of text. Some of the text should contain phrases with a hyphen, such as "test-phrase".
  2. Use the search option to search for "test-phrase"
  3. No results.

Code sample

This doesn't seem to be a code issue..

Screenshots or Video

None.

Stack Traces

None.

On which target platforms have you observed this bug?

iOS

Flutter Doctor output

None.

immankumarsync commented 3 weeks ago

@Xavier-Claude, we are able to replicate the reported issue at our end and currently we are validating the issue. We will update further details once the validation is complete.