Open zsmith3 opened 3 years ago
Getting same bug with iOs where my nested SVGs are not rendering at all, but on Android is renders perfectly fine. I wonder if it is intentional for the the Svg component to not be nested inside of each other?
Anyone knows whats actually causing this?
Bug
When I have a mask within 2 nested SVGs, it displays fine on Android and web but displays nothing on iOS.
Unexpected behavior
On web and an android phone, this displays a 100x100 red square with a 20x20 square missing in the top left corner, as expected. On an iPhone it shows a blank screen. Removing the inner
<svg>
tag fixes the problem.Environment info
React native info output:
Library version: 12.1.1
Steps To Reproduce
Short, Self Contained, Correct (Compilable), Example
https://snack.expo.dev/@zsmith3/8a3c41