Open juancarlos-cynch opened 4 months ago
I am also getting similar issues:- PIC 1:- when selecting/clicking on hyperlinks, the layers are not alined with the original PDF text.
PIC 2:- original PDF.
Environment:-
import 'react-pdf/dist/Page/TextLayer.css'; import 'react-pdf/dist/Page/AnnotationLayer.css';
you can import this two css which solved the issue but not sure where its good idea or not
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