add `scale` props
Hi, I wanted to use this animation in my app but the problem is there is lots of padding in the original animation.
I tried to use autoSize and resizeMode='cover', but no success,
my code is:
const filter = require('../../assets/Filter2.json')
...
<LottieView
source={filter}
style={{height:'100%'}}
speed={2.5}
ref={(ref)=> this.filterAnimation = ref}
resizeMode='cover'
autoSize
loop={false}
/>
if there was a scale prop, I could use that. I guess it is available in lottie-android as in this SO answer
We might introduce this feature after updating to the latest lottie-android
@emilioicai Is there any improvement? I have this issue on both iOS and Android. I need some help to fix it.
@emilioicai Why did you close this issue? Is there a fix?
I closed it because it seemed to me it was quite stale. I will reopen if it's still an issue with the latest version
I still could not use lottie because of this issue. Can you please tag me when you open a new one?
@WrathChaos I just reopened this one
Need this too 👍
+1
+1
any updates?
Is this feature added? I am facing same issue with animation I am using
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.