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
After upgrading from React Native SVG 13.4.0 to 14.1.0, we are running into rendering issues specifically using Path. One specific Path is causing a small black trace, while every other path I render doesn't.
Hello @ashwin-jacob,
I've been looking into this and according to the MDN Docs, if you don't specify the fill prop (on the path element) should be set to black by default. This means the component works as expected (according to the specification). I checked the code you posted, and it works exactly the same in the browser. If you want to achieve the results you have posted, all you need to do is add fill="none" or fill="transparent" to the path element.
If you've noticed any other problems, feel free to open an issue.
Bug
After upgrading from React Native SVG 13.4.0 to 14.1.0, we are running into rendering issues specifically using Path. One specific Path is causing a small black trace, while every other path I render doesn't.
What Expo is showing
What it should be
Code
Environment info
Expo Version: 50.0.0
Library version: 14.1.0
Short, Self Contained, Correct (Compilable), Example
https://snack.expo.dev/@ashwin-soundadvice/54245a?platform=web
The text was updated successfully, but these errors were encountered: