New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search isn't working with updated package #1184
Comments
@akib1997 All packages should use the same version. |
All are updated now but still getting this error. Even searching isn't working anyway. Just getting this. |
My project link is: |
Getting the same error on my end. |
Looks like this has to do trying to highlight text on a PDF that doesn't contain any highlightable text. Downgraded to 3.3.0 and the crash is fixed. |
@joshkay Can you let me know the steps to reproduce the issue? |
Unfortunately I am unable to share the PDFs that were causing issues for me. They were scanned documents with no selectable text. I was also experiencing an issue where the first page would often render as just a black box. Unfortunately I don't have the time to come up with a reproducable scenario. The downgrade has solved all my issues. Sorry I can't provide more context. |
Can I know all the package versions? Did you use Typescript? Please give me a screenshot of your package. Thanks |
Looks like the |
Can I see your working package json file or image. I want to use the same version of you. |
These are working for me currently.
|
I got it but wanted to know React and React-dom versions like things. |
|
There is a lot but thanks, man. I really appreciate it. |
I'm using the updated package and wanted to implement searching functionality and I'm gating an error like TypeError: Cannot read properties of undefined (reading 'map')
at search.js:151:1 when submitting enter button for searching.
Package:
Component:
The text was updated successfully, but these errors were encountered: