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

Make sure completions aren't null or undefined #4608

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

nevinpuri
Copy link
Contributor

@nevinpuri nevinpuri commented Jan 2, 2022

I was experiencing some undefined errors with completions while adding an onScroll listener to hide the autocomplete window when the user was scrolling.

While the error is most likely due to my horrible code in this situation (there is no other easy way to do it), I still suggest adding this check to avoid such errors in the future.

I manually patched this file in node modules, and it helped fix the error.

@nevinpuri nevinpuri changed the title make sure completions aren't null or undefined Make sure completions aren't null or undefined Jan 2, 2022
@andrewnester andrewnester merged commit a78e127 into ajaxorg:master Jun 27, 2022
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

Successfully merging this pull request may close these issues.

2 participants