Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
-1 votes
0 answers
24 views

In the image above, I have to start the PDF from the left; otherwise, if I use the centre alignment, it causes horizontal scrolling issues. So I don't want the horizontal scroll to break, and I want ...
cheescakesss3's user avatar
0 votes
0 answers
167 views

Today when I using react-pdf(10.2.0) in project, shows error: DOMMatrix is not defined at file:///Users/dolphin/source/reddwarf/frontend/texhub-web-labs/node_modules/pdfjs-dist/build/webpack:/pdf....
Dolphin's user avatar
  • 40.9k
0 votes
0 answers
84 views

I'm building a custom React-based PDF editor and signer using react-pdf and pdf-lib. The editor (PdfEditor.tsx) lets users drag-and-drop fields (Signature, Email, Date, etc.) on a PDF canvas. Later, ...
KINETIC's user avatar
  • 33
0 votes
0 answers
41 views

I’m building a tenancy agreement generator using react-pdf . Local images stored in my Next.js public/ folder render fine inside , but external images (e.g. from an API or CDN) never show up in the ...
BINARY TECH's user avatar
0 votes
0 answers
146 views

I have a React Typescript application. Node version: v16.12.0. Below are the versions of react "react": "^19.1.1", Here there are three packages related to pdf: react-pdf-viewer (...
Sridivya_pulapa's user avatar
0 votes
1 answer
86 views

Basically, I'm creating an Next app in which the we get the array of strings which is messy we clean it and then we created them into multiple strings: const cleanCitationText = (text: string): ...
Arnav Sharma's user avatar
0 votes
1 answer
209 views

I have an Express server which uses a ESM dependency react-pdf. I also need the file to be .tsx as I'm using TypeScript JSX for rendering. I have this working locally but I run into issues when trying ...
Evanss's user avatar
  • 22.5k
0 votes
4 answers
2k views

I'm trying to generate a PDF based on user input. The user can add, update, and delete items to a list. The list is a redux slice where the state is kept Adding and updating are working but for some ...
J_P's user avatar
  • 190
0 votes
0 answers
267 views

I downloaded/installed React-Pdf, "react-pdf": "^9.2.1", I need to show a Byte-Array PDF which is dynamically generated. const response = await createPdf(payload); // ...
gene b.'s user avatar
  • 12.6k
0 votes
1 answer
156 views

I was using '@react-pdf/renderer' to create a pdf and download it but I could not find a way to support multiple languages with it. That is one pdf file could have strings in multiple languages but ...
Zephyr's user avatar
  • 2,651
0 votes
0 answers
58 views

Endpoint: [HttpGet("GetFileStream/{id}")] [Produces("application/octet-stream")] public async Task<Stream> GetFile(int id) { Stream stream = await Services.FileStorage....
Thomas's user avatar
  • 43
0 votes
1 answer
100 views

I'm trying to show a PDF in my page by using "react-pdf". I am now struggling with making it responsive. I am now using this custom hook to get the size of the contentRect: import { ...
Bawenang Rukmoko Pardian Putra's user avatar
3 votes
0 answers
918 views

Issue Description I’m encountering an issue with react-pdf where the messageHandler (worker communication channel) is null when rapidly navigating between PDF files. I’ve tried several solutions and ...
Chirag's user avatar
  • 21
0 votes
2 answers
595 views

const Template1 = ({ data }) => { const styles = StyleSheet.create({ page: { position: "relative", }, watermarkContainer: { position: "absolute", ...
Dhamodharan B's user avatar
0 votes
0 answers
99 views

I am using the react-pdf package to generate a multi-page PDF document in my React application. However, I am facing issues with dynamically setting margins, borders, and footer styling across ...
Rao Imtinan's user avatar

15 30 50 per page
1
2 3 4 5
29