You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scrolling trough a FlatList that renders components which have an Image component with the borderRadius property, the Image components sometimes (typically after new content was added to the list, or also when some stuff inside the list item rerenders) show the unclipped image. Also adding an additional View wrapper (with a borderRadius and overflow:hidden) around the Image component results in the same problem. After a few seconds the clipping is reapplied most of the time. But sometimes the clipping is missing until something else causes a rerender e.g. an additional scroll.
Here a screenshot of the issue (upper rectangle image is wrong, lower circle image is correct):
The occurrence of this issue is not consistent and happens from time to time.
I have the same issue. I am using react-native-fast-image which wrapped android glide lib in native code. This issue only happen on android with FastImage in react-native-fast-image, not Image in react-native android and only happen with some items on the listview. I think borderRadius in parent view does not work with FastImage child.
facebook
locked as resolved and limited conversation to collaborators
Sep 14, 2019
Environment
Run
react-native info
in your terminal and paste its contents here.Description
This issue appears only on android.
When scrolling trough a FlatList that renders components which have an Image component with the borderRadius property, the Image components sometimes (typically after new content was added to the list, or also when some stuff inside the list item rerenders) show the unclipped image. Also adding an additional
View
wrapper (with aborderRadius
andoverflow:hidden
) around theImage
component results in the same problem. After a few seconds the clipping is reapplied most of the time. But sometimes the clipping is missing until something else causes a rerender e.g. an additional scroll.Here a screenshot of the issue (upper rectangle image is wrong, lower circle image is correct):
The occurrence of this issue is not consistent and happens from time to time.
Reproducible Demo
Reproduction Component that results in
The text was updated successfully, but these errors were encountered: