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 the viewBox ratio differs from the width and height attributes (e.g., height="500" width="100" viewBox="0 0 200 200"), the lengths passed as percentage values are incorrect. This inconsistency leads to rendering issues where the expected size does not match the actual size.
Affected platforms
Platform
is affected
iOS
✓
Android
✓
Web
𝙓
Example
These two rectangles are supposed to be the same size
Description
When the viewBox ratio differs from the width and height attributes (e.g.,
height="500" width="100" viewBox="0 0 200 200"
), the lengths passed as percentage values are incorrect. This inconsistency leads to rendering issues where the expected size does not match the actual size.Affected platforms
Example
These two rectangles are supposed to be the same size
Expected (from web)
Actual
Steps to reproduce
Run the code snippet from above / snack
Snack or a link to a repository
https://snack.expo.dev/medooIzWuqe50tTnkheiT
SVG version
15.3.0
and frommain
branchThe text was updated successfully, but these errors were encountered: