You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read and understood the contribution guidelines.
When a pdf file is generated via the html method in certain setups (with nested html elements and background-color styling specified), some part of text is not visible. You can still select the text in the pdf file, however it seems that the text has the same color as its background which makes it impossible to see.
Since this is a bit difficult to reproduce, here is a jsfiddle example that generates a file and has the described issue: https://jsfiddle.net/bangiev/w7t6d9v2/
Example screenshot:
This might be related to an issue with html2canvas as I observed such results when directly using html2canvas. This is the reported issue in html2canvas: niklasvh/html2canvas#2739
The text was updated successfully, but these errors were encountered:
Yes, this was my conclusion after doing some debugging - it requires a fix on html2canvas side.
I opened an issue here because I discovered the problem through our jsPDF library usage. So it's probably a good idea to keep the issue here as well for reference/awareness until it's clear that things work as expected after there's a fix for html2canvas.
I have read and understood the contribution guidelines.
When a pdf file is generated via the html method in certain setups (with nested html elements and background-color styling specified), some part of text is not visible. You can still select the text in the pdf file, however it seems that the text has the same color as its background which makes it impossible to see.
Since this is a bit difficult to reproduce, here is a jsfiddle example that generates a file and has the described issue:
https://jsfiddle.net/bangiev/w7t6d9v2/
Example screenshot:
This might be related to an issue with html2canvas as I observed such results when directly using html2canvas. This is the reported issue in html2canvas:
niklasvh/html2canvas#2739
The text was updated successfully, but these errors were encountered: