Skip to content
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

ListView onEndReached fires when it first render #13842

Closed
adamnator92 opened this issue May 8, 2017 · 1 comment
Closed

ListView onEndReached fires when it first render #13842

adamnator92 opened this issue May 8, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@adamnator92
Copy link

adamnator92 commented May 8, 2017

im using onEndReached props on ListView, i found that onEndReached triggered when listview rendered , although i didnt scroll to the end of list, it's normal behavior?

here is my code

<ListView
dataSource={this.state.dataSource}
renderRow={this.renderRow}
enableEmptySections={true}
onEndReached={() => console.log('end'))} />
  • React Native version: 42.2
  • Platform: IOS & Android
  • Development Operating System: MacOS
@adamnator92
Copy link
Author

adamnator92 commented May 9, 2017

#7159

@facebook facebook locked as resolved and limited conversation to collaborators Jun 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants