Skip to content
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 having multi grouping is not rendring properly #178

Open
vikas837 opened this issue Feb 18, 2021 · 0 comments
Open

SVG having multi grouping is not rendring properly #178

vikas837 opened this issue Feb 18, 2021 · 0 comments

Comments

@vikas837
Copy link

vikas837 commented Feb 18, 2021

Description of the Issue
SVG having multi level groupings tag is not rendering with proper colour. Always black colour displays on the SVG.
Like in the below SVG fill="#FF0000" is the Red colour but it is displaying as black.

Sample SVG

Sample SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25"> <g fill="none" fill-rule="evenodd"> <g fill="#FF0000"> <g> <g> <g> <path d="M22 4.5l-19.5.036v12.482h3.44l2.81 2.811 2.811-2.811H22V4.5zM4 6.032l16.5-.029v9.515h-9.56l-2.19 2.19-2.19-2.19H4V6.032z" transform="translate(-32 -1317) translate(16 1202) translate(0 99.5) translate(16 16)"/> </g> </g> </g> </g> </g> </svg>

Screenshots
Correct SVG:

Screenshot 2021-02-18 at 5 10 50 PM

Rendered SVG:

SVG displays black instead of red

Screenshot 2021-02-18 at 5 04 33 PM

Please help me to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant