Skip to content

Fix searchingText bug#942

Merged
JedWatson merged 1 commit intoJedWatson:masterfrom
tonydecat:async-loading-bug
May 7, 2016
Merged

Fix searchingText bug#942
JedWatson merged 1 commit intoJedWatson:masterfrom
tonydecat:async-loading-bug

Conversation

@tonydecat
Copy link
Contributor

When using the Async component with a large number of options, it's possible that refining the search input doesn't match any previously loaded results, but may match new results returned by the server. There was a bug in the text that's displayed

For example, let's say a search of "a" asynchronously returned options

  • "aardvark"
  • ...
  • "aaz"

The user then refines their search to "ab"
This shows a loading spinner and no options, while it makes an asynchronous request with the new search query.
There was a bug where "No results found" was displayed under the search input while waiting for a response, instead of "Searching...". This PR fixes that bug.

I'd be happy to clarify what the bug is if it's still not clear to anyone.

(#941 or similar should get merged first since that fixes a more general bug with async)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 90.929% when pulling 03533ac on tonydecat:async-loading-bug into b21f70e on JedWatson:master.

@JedWatson
Copy link
Owner

That's clear, thanks @tonydecat!

@JedWatson JedWatson merged commit 13538cf into JedWatson:master May 7, 2016
@JuanCrg90
Copy link

hi. Is the package.json updated to this commit?

@tonydecat
Copy link
Contributor Author

@JuanCrg90 If you're using npm I believe you'll have to wait for the next release (probably v1.0.0-beta14) to get this fix. Perhaps @JedWatson can confirm

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.

4 participants