-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
iOS: Regression in refreshControl on RN 0.64 #30912
Labels
Comments
36 tasks
Setting // Fix for bug #7976
// TODO: Remove when updating to use iOS 10 refreshControl UIScrollView prop.
if (self.backgroundColor == nil) {
self.backgroundColor = [UIColor clearColor];
} |
swrobel
added a commit
to swrobel/react-native
that referenced
this issue
Feb 10, 2021
swrobel
added a commit
to swrobel/react-native
that referenced
this issue
Mar 9, 2021
swrobel
added a commit
to swrobel/react-native
that referenced
this issue
Mar 10, 2021
Fixes facebook#30912 Reverts facebook#31024 which was not shown to fix the issue
Just wanted to confirm that the issue seems to be fixed on my end with RN 0.64 stable. @swrobel Thanks for taking care of this |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Hello everyone, I might have found a regression on RN 0.64 (I tested every RC, including latest RC3).
The refresh control of every FlatList from my app is randomly showing up "frozen".
This issue seems to be similar to #7976 which was fixed in the following PR #9249.
Sadly, the fix was removed in #28236 and merged to RN 0.64.
I am experiencing this bug in iOS 14, even though in the fix it mentions:
TODO: Remove when updating to use iOS 10 refreshControl UIScrollView prop.
React Native version:
Steps To Reproduce
If you start scrolling or pull to refresh, it then disappears.
I am not doing anything fancy and don't have any custom
refreshControl
property on my FlatList.Even with
refreshing={false}
forced, the refreshControl will show up.However, I noticed that if I use a refreshControl with a transparent background, the issue is fixed:
Expected Results
Not having any refresh control displayed if it is not refreshing.
Snack, code example, screenshot, or link to a repository:
I will try to make a snack / repo to reproduce the issue asap.
In the meantime here is a video of the issue:
Screen.Recording.2021-02-08.at.14.56.23.mov
The text was updated successfully, but these errors were encountered: