-
Notifications
You must be signed in to change notification settings - Fork 24.2k
-
Notifications
You must be signed in to change notification settings - Fork 24.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: overflow + borderRadius clipping disappears for short moment after rerender #20278
Closed
3 tasks done
Labels
Comments
+1 |
I am closing this because this seems to be not an issue related to react-native core. |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
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: