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
When you nest a <Circle /> inside a <Mask /> and scale down the svg, circle will keep its initial size, and not scale down as expected. This seems to only happen for android.
For the following svg component we expect the masked circle component to be 30x30 pixels, but it keeps its size of 512x512:
Bug
When you nest a
<Circle />
inside a<Mask />
and scale down the svg, circle will keep its initial size, and not scale down as expected. This seems to only happen for android.For the following svg component we expect the masked circle component to be 30x30 pixels, but it keeps its size of 512x512:
2024-01-30.17-28-43.mp4
I tried the same svg code on the web, and it works as expected:
Environment info
React native info output:
Library version: 14.1.0
Steps To Reproduce
Issues without reproduction steps or code are likely to stall.
git clone https://github.com/elmaxe/rnsvg-bug-repro
cd rnsvg-bug-repro
yarn
yarn android
Describe what you expected to happen:
The text was updated successfully, but these errors were encountered: