We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
From time to time I get:
Uncaught (in promise) Error: ! at PdfHighlighter.init (react-pdf-highlighter.js?v=7deb8492:2123:13)
Thrown here:
if (!this.containerNodeRef.current) { throw new Error("!"); }
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered:
Seems like a timing issue to me - checking containerNodeRef.current in init before ref is set in render
Sorry, something went wrong.
Getting this issue as well, do you know what might be causing this, maybe I'm not waiting for the component to mount?
Solution for me was to overwrite PdfHighlighter and add a little timeout to overcome the timing-issue.
https://gist.github.com/christophhalbi/40ce155e2bc326a1effafe746635a04a
No branches or pull requests
From time to time I get:
Uncaught (in promise) Error: !
at PdfHighlighter.init (react-pdf-highlighter.js?v=7deb8492:2123:13)
Thrown here:
Am I doing anything wrong?
The text was updated successfully, but these errors were encountered: