React Native FlatList shows some blank in the quickly sliding. What is the solution?
See original GitHub issueIs this a bug report?
(write your answer here) I don’t know
Have you read the Contributing Guidelines?
(Write your answer here.) yes
Environment
Environment: OS: macOS High Sierra 10.13 Beta Node: 8.9.2 Yarn: 1.3.2 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 8.3.3 Build version 8E3004b Android Studio: 3.0.1
Packages: (wanted => installed) react-native: 0.48.1 => 0.5.1 react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: Android
Steps to Reproduce
(Write your steps here:)
1.quickly slide the FlatList in the android 2.appear some blank in screen 3.wait the munite,the blank disappear
Expected Behavior
(Write what you thought would happen.)
Actual Behavior
(Write what happened. Add screenshots!) it is just sometime blank
Reproducible Demo
<FlatList style={styles.container} data={this.state.serialGroupList} keyExtractor={this.keyExtractor} renderItem={this.renderItem} refreshing={this.state.isRefreshing} onRefresh={this.onRefresh} onEndReachedThreshold={0.3} onEndReached={({distanceFromEnd}) => this.onEndReached(distanceFromEnd)} getItemLayout={(data, index) => ({length: 100, offset: 100 * index, index})} />
(Paste the link to an example project and exact instructions to reproduce the issue.)
Issue Analytics
- State:
- Created 6 years ago
- Comments:17
Top GitHub Comments
Please reopen, and share how to fix it. this very urgent for me
The same in react-native 0.57.8