resizeMode='cover' does not work
Closed this issue · 2 comments
l2aelba commented
Example:
<LottieView resizeMode='cover' ... />
In SVG it's still
preserveAspectRatio="xMidYMid meet"
not
preserveAspectRatio="xMidYMid slice"
Any trick? thanks.
zhigang1992 commented
Use rendererSettings
props, found it in the source code
l2aelba commented
Thanks @zhigang1992
rendererSettings={{ preserveAspectRatio: 'xMidYMid slice' }}