Search Stalling After Blank Page in a Document with PDF.js Express Plus

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
Core: 8.7.5, UI: 8.7.0

Detailed description of issue
I am experiencing an issue with the search functionality in PDF.js Express Plus. I have a 256-page document that contains a completely blank page on page 18. When I search for any keyword within this document, the search only works for pages 1 through 17. After reaching page 18, the search appears to get stuck: the “search in progress” spinner keeps loading indefinitely, and no results are shown beyond page 17.

I tested this with the sample Angular PDF.js Express Plus viewer, and the behavior persists. However, when I tested the same document on the PDF.js Express Plus website demo, the search works as expected and finds keywords beyond page 17.

Expected behaviour
The search should be able to progress past page 17 and return results for keywords on pages after the blank page 18.

Does your issue happen with every document, or just one?
This issue currently appears to happen with this specific document that includes a blank page.

Link to document
PDF JS Search Issue_ Confidential.pdf (279.3 KB)

Please do not share this document and keep it confidential

Code snippet
{Provide a relevant code snippet}

Please let me know if you need further details or any additional troubleshooting steps. Thank you for your assistance with this issue.

Hi there,

Thank you for reporting this bug,

This looks like an issue that was introduced from 8.7.3 onwards. We suggest you to revert back to 8.7.2 as a workaround.

best regards,
Kevin Kim

Hi Kevin,

Thanks for the quick response and for identifying the version issue. We’ll try reverting to 8.7.2 and let you know if it resolves the problem.

Could you also provide any information on the timeline for a fix or the next release that will address this issue? That would be really helpful for our planning.

Best regards,
Ashok

Hi there,

While we don’t have a timeline for the fix, the minor version updates from 8.7.2 to 8.7.5 were minimal and should not affect functionalities.

best regards,
Kevin Kim