-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
svg fill and color #1389
Comments
Are you setting the "fill" and "color" attributes on the SVG element or setting them in a "style" attribute? |
I have the same question. |
I have same issue. |
I have the same issue. My SVG is a child element of a div. The CSS looks like: .div-element svg {
/* fill the nested SVG element within the DIV with red */
fill: red
} The rended images truns black. Any advice? |
Has anyone found a workaround for this? |
Yes. I posted a workaround somewhere...I'll try to dig it up
…On Mon, Jul 8, 2019, 9:25 AM meehaws ***@***.***> wrote:
Has anyone found a workaround for this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1389?email_source=notifications&email_token=ACTMQ4J3ENVF2BPWO5P3Z5DP6M527A5CNFSM4ELW5XT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNCFXQ#issuecomment-509223646>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACTMQ4IMZUHOEO6SXIVSEQDP6M527ANCNFSM4ELW5XTQ>
.
|
Here you go: |
I get the same issue when trying to render PNGs. It's not quite as noticeable as the stackoverflow example above, but it does taint the original image enough to be obvious. |
This should be fixed in the latest version |
hi everyone
i wanna thanks the developers for this library first, and i dowbloade this library since 4 days, i work with the last version of html 2canvas, and i have some difficulty, and i try to solve them, but this one i parsed google for 10 hours no solution, so the problem is in picture wich an svg, from stackoverflow logo, html2canva render it but with the wrong color
orginal picture
rendered picture with html2canvas
The text was updated successfully, but these errors were encountered: