react-native-bidirectional-infinite-scroll
react-native-bidirectional-infinite-scroll copied to clipboard
TypeError: undefined is not a function
Hi. I copied the example and ran it in my application. Everything looked ok. Then I just scroll up to the bottom of the list and immediately scroll down to the top of the list and oops ... Maybe I missed something?
Did you solve it this problem?
I resolved this way: copied the code and added in line 126 if (onEndReachedInPromise.current && onEndReachedInPromise.current.finally)
.
Hi there😄, I'm having the same issue. It seems to be caused by the finally method not being defined. Could be the case only for hermes engine. Using a polyfill for Promise.finally solves the problem.
react-native: 0.68.2 node: 14.19.3