seatgeek / react-infinite

A browser-ready efficient scrolling container based on UITableView
Other
2.71k stars 275 forks source link

onInfiniteLoad not run #283

Closed callmesoul closed 6 years ago

callmesoul commented 6 years ago
<Infinite elementHeight={40}
                              containerHeight={250}
                              infiniteLoadingBeginBottomOffset={100}
                              onInfiniteLoad={this.handleInfiniteLoad.bind(this)}
                              loadingSpinnerDelegate={this.elementInfiniteLoad()}
                              isInfiniteLoading={this.state.isInfiniteLoading}
                    >
                        {this.state.elements}
                    </Infinite>

first time is ok. when When I go down to the bottom,onInfiniteLoad is not run;why?