-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
Annotation Layer redering issue #1739
Labels
bug
Something isn't working
Comments
import 'react-pdf/dist/Page/TextLayer.css'; you can import this two css which solved the issue but not sure where its good idea or not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before you start - checklist
Description
When opening a PDF file with annotated info, the values are being shown misaligned.
I'm seeing this issue even in the library demos.
Using the
react-pdf
library:Using any other PDF reader software:
Steps to reproduce
react-pdf
librarysample/vite/
folder and install the demo dependenciesnpm install
npm run dev
Expected behavior
The form values should be showed correctly aligned as any other PDF reader software.
Actual behavior
The form values are incorrectly aligned.
Additional information
Sample Demo: https://github.com/wojtekmaj/react-pdf/tree/main/sample/vite
Test File: f1040--2022 (1).pdf
Environment
The text was updated successfully, but these errors were encountered: