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

Uncaught TypeError with async results and focusFirstSuggestion={true} #234

Closed
esseb opened this issue Sep 1, 2016 · 2 comments
Closed
Labels

Comments

@esseb
Copy link

esseb commented Sep 1, 2016

Testcase:
http://codepen.io/Esseb/pen/GjRpqz

Steps to reproduce:

  1. Open devtools console
  2. Focus the input field and type c
  3. Wait for suggestions to appear
  4. Continue typing random letters and wait for the suggestions list to disappear
  5. Press Enter

Observed behaviour:
Uncaught TypeError: Cannot read property 'name' of undefined

Expected behaviour:
Nothing should happen

@esseb
Copy link
Author

esseb commented Sep 1, 2016

Tested in Chrome Version 52.0.2743.116

@moroshko moroshko added the bug label Sep 1, 2016
@moroshko
Copy link
Owner

moroshko commented Sep 3, 2016

@esseb Thanks a lot for a perfectly submitted issue! This is fixed now in v6.0.3.

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

No branches or pull requests

2 participants