-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG height and width #269
Comments
@VinSpee have you solved this problem? |
@isiaap no I have not 😢 |
@VinSpee does it mean you have abandoned using gradients? Or some workaround has been found? |
@isiaapp yes, not using gradients for now. certainly not ideal or acceptable, but such is life. |
Hi! It's been quite some time and a couple of large version bumps - is there any intent to fix this issue? I'm just curious if it's even on the roadmap. "No" is a completely acceptable and sane answer. |
I'm using react-primitives-svg to render the same SVG code to both web and sketch:
Now the SVG height and width seem to be interpreted differently for Sketch and web.
<Svg viewBox="0 0 200 200" width="200" height="200">
is more like 20/20 on web, but OK in Sketch.but...
<Svg viewBox="0 0 200 200">
renders 95.61px /.47px in Sketch, but OK on web.So I can't use the same code.
@alampros suggests it maybe a yoga layout issue as he had a similar problem #204
The text was updated successfully, but these errors were encountered: