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
The outcome of this is that pull to refresh works, but the ListView is not scrollable. The only way to fix this is by applying style={{flex:1}} to PullToRefreshViewAndroid... Is this a bug or intentional? I'd expect PullToRefreshViewAndroid to take the full height of it's child by default?
If it's a bug, I can potentially submit a PR for this.
The text was updated successfully, but these errors were encountered:
React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.
If you don't know how to do something or not sure whether some behavior is expected or a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!
Summary:
As mentioned in #4793 it is not initially clear that the PullToRefreshViewAndroid component needs the `{flex: 1}` style in order for it's child component to function correctly (without examining the example). This will hopefully clear that up.
Closes#4814
Reviewed By: svcscm
Differential Revision: D2764534
Pulled By: androidtrunkagent
fb-gh-sync-id: ae1c529342e85f8348b4f683e42bf25df5dbea09
I have a basic example of a ListView, which has a parent PullToRefreshViewAndroid:
The outcome of this is that pull to refresh works, but the ListView is not scrollable. The only way to fix this is by applying
style={{flex:1}}
to PullToRefreshViewAndroid... Is this a bug or intentional? I'd expect PullToRefreshViewAndroid to take the full height of it's child by default?If it's a bug, I can potentially submit a PR for this.
The text was updated successfully, but these errors were encountered: