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

Fix async not working #1233

Closed
wants to merge 1 commit into from
Closed

Conversation

jacobsvante
Copy link

Wouldn’t work before because rendered would already be set to
suggestions.length before that._append is called, making
the suggestions.slice(0, that.limit - rendered) call return an empty
array.

Wouldn’t work before because `rendered` would already be set to
`suggestions.length` before `that._append` is called, making
the `suggestions.slice(0, that.limit - rendered)` call return an empty
array.
@rafaelGuerreiro
Copy link

+1. This closes the issue #1232

@rafaelGuerreiro
Copy link

Same as PR #1212

@jacobsvante
Copy link
Author

Nice, #1212 even got tests. Closing this.

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

Successfully merging this pull request may close these issues.

2 participants