-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
The whole Carousell component can be disappeared due to removeClippedSubviews in FlatList #492
Comments
+1, completely agree. |
Face same issue after RN upgrade from 57.8 to 59.2 |
+1 |
@knyuwork By setting This is not a problem if you only have a few of them, but this might become a real issue otherwise. By the way, you could just set prop Unfortunately, this is a pure RN bug on which we have absolutely no control. In fact, we've been trying to compensate for those bugs for years without any luck... |
Any update or news on this ? |
+1 |
Is this a bug report, a feature request, or a question?
bug report
My Component is like this:
Problem
In the above code,
this.props.value
comes from redux storeWhenever
this.props.value
is updated, the entire Carousel component will be disappeared.Solution
I have traced the code and I found that
_getComponentOverridableProps
inCarousel.js
containsremoveClippedSubviews: true
. After I removed this props, The problem is gone.And I also referenced to FlatList.
There is a note under
removeClippedSubviews
:Note: May have bugs (missing content) in some circumstances - use at your own risk.
Just to share my findings.
The text was updated successfully, but these errors were encountered: