react-native-svg
react-native-svg copied to clipboard
SVG does not render with react-native-svg, but it renders in Chrome
trafficstars
Bug
The following SVG does not render in react-native-svg:
https://gist.githubusercontent.com/yolpsoftware/b82c92a5bc841207d3bd05259eeb0980/raw/e43b9db8ddaf720d2090ad0227ddea478130eb31/Hong%2520Kong%2520on%2520the%2520Globe%2520(Japan%2520centered).svg
Here's a snack to test it:
https://snack.expo.io/@yolpsoftware/svguri
Unexpected behavior
The SVG is not rendered.
Environment info
Library version: 12.1.0
I also tested it locally with 12.1.1 without success. The Expo snack requires 12.1.0, that's why my snack uses that.
Steps To Reproduce
- Go to https://snack.expo.io/@yolpsoftware/svguri
- Run it on your iOS device
Describe what you expected to happen:
1.The SVG of the globe should render, with Hong Kong highlighted
Short, Self Contained, Correct (Compilable), Example
https://snack.expo.io/@yolpsoftware/svguri