-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Hyperlinks generated in the wrong location when using a Footer (div on 100vh parent), and changing html2canvas options.windowHeight #174
Comments
My html content is like so: HTML template in Angular5
CSS
|
Solution found. Instead of using
It's a fixed size PDF. No real need to have the height so dynamic. Solves the problem. But there is still some problems:
|
I am getting this issue where the height of resulting PDF is 70% what it should be.
configuration:
then using
html2pdf.js
(npm install --save html2pdf.js
0.9.1 in an Angular 5 app)1st Problem: Results in virtual window height around 70% what it should be:
html2pdf (15).pdf
If I tweak the
windowHeight
(which seems like a HACK, but ok, let's try it).2nd Problem: Then it fixes the visual, but totally KEEPS the link's former click area. It would seem that the link rectangles are NOT using the new
html2canvasOpts.windowHeight
while the canvas render IS.html2pdf (16).pdf
The text was updated successfully, but these errors were encountered: