Hippy icon indicating copy to clipboard operation
Hippy copied to clipboard

BorderRadius doesn't correctly work for gifs on Android

Open ZhuoYitao opened this issue 3 years ago • 0 comments

Describe the bug BorderRadius doesn't work for gifs on Android devices.

To Reproduce

  1. BorderRadius doesn't work with the following code: <Image source={{uri: "https://shp.qlogo.cn/ttsing/1000149/1000149/100?ts=0"}} style={{width: 40, heigth: 40, borderRadius: 20}} />

  2. However, after adding overflow: "hidden", the borderRadius works correctly. <Image source={{uri: "https://shp.qlogo.cn/ttsing/1000149/1000149/100?ts=0"}} style={{width: 40, heigth: 40, borderRadius: 20, overflow: "hidden"}} />

Expected behavior BorderRadius works without setting the overflow property.

Screenshots

Smartphone (please complete the following information):

  • Device: HUAWEI P40

Additional context

ZhuoYitao avatar Jun 20 '22 10:06 ZhuoYitao