-
-
Notifications
You must be signed in to change notification settings - Fork 917
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
Implement native PDF search functionality using pdf.js
capabilities
#938
Comments
This comment was marked as outdated.
This comment was marked as outdated.
I managed to solve this using You can do it without using |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@angel-langdon do you have an example of this? |
This comment has been minimized.
This comment has been minimized.
@angel-langdon Hi, I'm facing the same issue as you, if I implement the search function with the current react-pdf, it will cause a lot of effort to draw highlight and jump, ... |
Any updates on this? Being able to Ctrl+F a block of text on a pdf is an extremely important feature, and it is too buggy/glitchy in its current state because the search functionality is not quite there yet with react-pdf. |
Before you start - checklist
Description
pdf.js
has native functionality to search inside the PDF usingPDFFindController
.It would be nice for
react-pdf
to have an interface to access these nativepdf.js
useful methodsProposed solution
I suggest adding necessary
props
forDocument
component that enables a way to search the PDF usingpdf.js
capabilitiesAlternatives
pdf.js
Additional information
Related Stackoverflow posts:
The text was updated successfully, but these errors were encountered: