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

TypeError: undefined is not a function #31

Open
vladimircherevko opened this issue Dec 27, 2021 · 3 comments
Open

TypeError: undefined is not a function #31

vladimircherevko opened this issue Dec 27, 2021 · 3 comments

Comments

@vladimircherevko
Copy link

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?
Screenshot_1640626259

@tomasruffa
Copy link

Did you solve it this problem?

@vladimircherevko
Copy link
Author

vladimircherevko commented Jan 18, 2022

I resolved this way: copied the code and added in line 126 if (onEndReachedInPromise.current && onEndReachedInPromise.current.finally).

@androsanta
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants