[Android] ListView/FlatList not able to scroll inside Content component
See original GitHub issueI have a FlatList inside a Content component with some other components that make the Content over height and scrollable. The problem I have that the FlatList was not able to scroll when Content scrollable.
react-native, react and native-base version
react: 16.0.0-alpha.12 react-native: 0.45.1 native-base: 2.2.0
Expected behaviour
The List should scrollable
Steps to reproduce (code snippet or screenshot)
My list:
<FlatList style={{ width: '100%', borderWidth: 1, borderColor: '#e0e1e2', marginTop: 10, height: 270, flex: 1 }} data={positions} renderItem={this.renderPosition} keyExtractor={(item, index) => item.id} />
Is the bug present in both ios and android or in any one of them?
Android only
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
@thienlhh Remove the height from the FlatList. If you really need the list to be taking up only that much of space. Wrap it with a View maybe and apply the height there
same issu