Closed Gautham495 closed 2 months ago
@Gautham495
It works on my side. Can you create a example app to reproduce it?
Actually it happened in here only where i passed a boolean value directly to the source. FastImage handled it but i think turbo cannot and I should split to 2 different components and not split the source itself. Both are remote uris.
<TurboImage source={{ uri: someBoolean ? image1 : image2, }} style={{ width: someBoolean ? screenWidth 0.1 : screenWidth 0.13, height: someBoolean ? screenWidth 0.1 : screenWidth 0.13, zIndex: 1000, borderRadius: 10, }} resizeMode="cover" />
I think this might be an extreme edge case but worth mentioning in the docs if possible like the animated turbo image component.
okay, maybe enhance it in the future. Closing it.
Yes thanks. Will keep this in mind when making future components with turbo image.
I got a crash in android stating: Error While updating property 'resizeMode' of a view managed by: TurboImageView.
<TurboImage source={require('../../Assets/IMG.webp')} style={styles.bg} resizeMode="cover" />
Above is the code sample.