-
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
ViewPagerAndroid renders empty views after upgrading react-native from 0.42.3 to 0.43.4. #13778
Comments
Are you declaring |
I tried recreating your problem in version 0.44.0, and there weren't any problems. I get these warnings though, so that could be the problem:
|
Hi, @HuyAnhh, thank you very much for trying this out! The ViewPagerAndroid is indeed working fine with 0.43.4 as well, I had other layout problem in my code, which is causing this. So, closing this issue now. Thanks again! 👍 |
@linamm I had the same problem even I put child within a View component. How you solved the problem? |
Hi, Walfud, I cannot remember the details now, I think I've used scrollview instead in the end. |
@linamm Thanks |
Description
I have passed an array of views as children views of the ViewPagerAndroid, when swiping the view pager, I expect the children view will be display one after another. Instead, only the first two views displayed as expected initially, the third view and onwards are empty. When I swipe back to the first view, the first view became empty too. I only start to see this problem after upgrading react-native from 0.42.3 to 0.43.4.
Reproduction Steps and Sample Code
Solution
No idea.
Additional Information
The text was updated successfully, but these errors were encountered: