Image transform scale property
See original GitHub issueSetting the transform scale property in react-native-svg@5.2.0 does not appear to have any effect.
` Note that the following Image component is imported from react-native-svg (not react):
<Image
x="20"
y="20"
width="50%"
height="50%"
href={require('./image.png')}
transform="scale(0.5, 0.5)"
/>
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
scale() - CSS: Cascading Style Sheets - MDN Web Docs
This scaling transformation is characterized by a two-dimensional vector. Its coordinates define how much scaling is done in each direction. If ...
Read more >CSS transform property - W3Schools
The transform property applies a 2D or 3D transformation to an element. This property allows you to rotate, scale, move, skew, etc., elements....
Read more >scale - CSS-Tricks
The scale property in CSS resizes an element's width and height in proportion. So, if we have an element that's 100 pixels square, ......
Read more >Scaling image with CSS Transition - Stack Overflow
I sometimes solve strange jumps on transition by adding rotate(0.01deg) on the transform property, like ...
Read more >CSS Scale() | Top 5 Examples of scale() Function in CSS
A CSS scale() function is defined as a CSS Transformation property which allows resizing an element in the Two-dimensional Plane. It is used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you try
transform={{scale:'0.5, 0.5'}}
@dk0r @0mkara @awreese I’ve now ported almost all the fixes from android to ios here: #430 npm i -s react-native-svg@https://github.com/msand/react-native-svg.git#13d5157