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

Autocompete: Adds the first item in the list (even if it doesn't match the current filter) when you type really quick then hit enter #346

Closed
jmsmyth opened this Issue Nov 7, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@jmsmyth
Copy link
Contributor

jmsmyth commented Nov 7, 2016

Context

Typing enter before the debounce duration completes allows values to be entered which don't match the current filter (if you are fast enough)

Expected Behaviour

Autocomplete should not allow you to enter any values whilst loading (this includes the debounce period)

Possible Fix

I'll submit a PR

Steps to Reproduce

  1. Go to https://www.hexagonjs.io/docs/autocomplete-picker/
  2. In the first autocomplete example type 'c', followed immediately by
  3. The autocomplete will close and will have the value 'a' (it should be 'c')

@jmsmyth jmsmyth added the Bug label Nov 7, 2016

@c-frater

This comment has been minimized.

Copy link
Contributor

c-frater commented Nov 7, 2016

Nice catch - If this affects the regular autocomplete as well then it's probably more of a reason to update it to use the new feed (#338)

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