Comments (7)
Think this issue is not related to the html2pdf code but related to the html2canvas cropping the image.
from html2pdf.js.
Hi @scriptmonkey69, sorry again for the delay. This looks like the offscreen rendering bug. Try the version of html2canvas in the /vendor/
directory of this package, it might resolve your problem. More info here.
from html2pdf.js.
from html2pdf.js.
Great, happy to help! Is it safe to close the issue?
from html2pdf.js.
from html2pdf.js.
Hi @eKoopmans, I'm having this issue but for some reason I can't find the /vendor/ folder that you're pointing to. Has it been removed? And is there a permanent fix for this issue?
from html2pdf.js.
Hi @jCabigting, sorry for the long delay.
There's no longer a /vendor/ directory, instead my suggestion would be to make sure you're using the "bundled" version of the package, html2pdf.bundle.js
. That has the latest version of html2canvas and jsPDF bundled in. The issue described above had to do with an older version of html2canvas that should be resolved now.
from html2pdf.js.
Related Issues (20)
- SVG file in child block didn't get printed
- Request for Assistance: Addressing Text Overlapping Issue with Next.js and html2pdf.js
- Page break "avoid" does nothing at all
- CVE-2020-7691 Security Vulnerability Issue HOT 2
- Broken image after created pdf
- Multiple Page download found slowness while downloading
- Memory is not deallocating for html2pdf even though for small data
- Html2pdf bloburl promise return causing UI stuck and increasing jsheap also
- Checkbox states unexpectedly changing to "on" when generating PDF with html2pdf.js HOT 1
- To add a logo to the PDF page. HOT 1
- Longer page being misaligned on page and truncated at bottom HOT 1
- base64 file not showing on first render - Safari
- Multi Language Support HOT 1
- Hi everyone, PDF content is blank after download in IOS
- Using HTML2PDF, text taking extra space HOT 1
- Date format change from dd-mm-yyyy to yyyy-mm-dd
- I want o set both orientation in same pdf
- page break in between text line while convert html to pdf HOT 3
- Can I get the progress bar example source? HOT 1
- scale issue to generate pdf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html2pdf.js.