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

<radialGradient /> without stops #1162

Open
normanzb opened this issue Oct 25, 2023 · 2 comments
Open

<radialGradient /> without stops #1162

normanzb opened this issue Oct 25, 2023 · 2 comments
Assignees
Labels

Comments

@normanzb
Copy link

normanzb commented Oct 25, 2023

hi there ,

below file contains a few radial graident elements but without any stop inside, are they indended? they are causing warnings when used in react native.

<radialGradient xlink:href="#bz-b" id="bz-f" cx="468.1" cy="156.1" r="10.7" fx="468.1" fy="156.1" gradientTransform="scale(.95596 1.04607)" gradientUnits="userSpaceOnUse"/>

simliar issues can be found in 4x3, fk, gs, ni, gt and mx

@lipis
Copy link
Owner

lipis commented Nov 3, 2023

To be honest we got them most likely from Wikipedia and then parsed with SVGO! We don't manually edit the SVG unless is just colors updates... if you know how to fix the issue, feel free!

@SethFalco
Copy link

It doesn't have any stops defined itself because it's inheriting the stops from the referenced radialGradient above.

<radialGradient id="bz-b">
  <stop offset="0" stop-color="#952d1a"/>
  <stop offset="1" stop-color="#570a00"/>
</radialGradient>
<!---->
<radialGradient xlink:href="#bz-b" id="bz-e" cx="364.2" cy="237.8" r="36" fx="364.2" fy="237.8" gradientTransform="scale(1.2242 .81686)" gradientUnits="userSpaceOnUse"/>
<radialGradient xlink:href="#bz-b" id="bz-f" cx="468.1" cy="156.1" r="10.7" fx="468.1" fy="156.1" gradientTransform="scale(.95596 1.04607)" gradientUnits="userSpaceOnUse"/>

This may be worth reporting to the React Native, or whatever is issuing this warning.

@NotTsunami NotTsunami self-assigned this Nov 17, 2023
@NotTsunami NotTsunami added the bug label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants