Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(typeahead): loading callback updates after blur #1904

Closed
wants to merge 1 commit into from

Conversation

michalc
Copy link
Contributor

@michalc michalc commented Mar 7, 2014

No description provided.

@michalc
Copy link
Contributor Author

michalc commented Mar 7, 2014

If the input is blurred during an asynchronous call to fetch results, then the results are never shown. However, the loading callback was also never updated to false. This PR fixes this, and updates the loading callback to false when the results of the current view value come in, even if the element doesn't have focus.

@pkozlowski-opensource
Copy link
Member

@michalc awesome pull request, thnx for this one! All is here: proper fix with minimal changes, test, proper commit message. Great job, going to merge it during the weekend. Thnx once again!

@pkozlowski-opensource
Copy link
Member

Merged, thnx @michalc !

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

Successfully merging this pull request may close these issues.

2 participants