faster-image icon indicating copy to clipboard operation
faster-image copied to clipboard

[ANDROID] Why borderRadius in image prop is not the same in style prop

Open pigeonmal opened this issue 9 months ago • 1 comments

I have a circle image borderRadius: size * 0.5

This style is not apply to the image so i put borderRadius prop in image, but that do a radius but not the same, it like a little round, not a perfect circle.

My only solution is to <View style={{borderRadius: size*0.5, overflow: 'hidden'}}> <FasterImageView source={{url, resizeMode:'cover'}} style={{flex: 1}}> </View>

It's excepted behaviour ? How to calculate the borderradius for faster image ?

pigeonmal avatar Mar 13 '25 07:03 pigeonmal

I have the same problem. This should be fixed! borderRadius should be used in style. It is weird otherwise...

spicy-xili avatar Mar 21 '25 16:03 spicy-xili