Skip to content

ListView onEndReached fires when it first render #13842

Closed
@adamnator92

Description

@adamnator92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions