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

Dropdown opens again after selecting suggestion when getting suggestions asynchronously #228

Closed
esseb opened this issue Aug 26, 2016 · 2 comments
Labels

Comments

@esseb
Copy link

esseb commented Aug 26, 2016

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

Expected result:
The input field should be focused and the dropdown should no longer be visible

Actual result:>
The dropdown closes but opens again immediately (I assume after the async result updates this.state.suggestions again)

Further information:
Regression between v5.1.0 and v5.1.1.

@esseb esseb changed the title Dropdown opens again after selecting suggestion when gettings suggestions asynchronously Dropdown opens again after selecting suggestion when getting suggestions asynchronously Aug 26, 2016
@moroshko
Copy link
Owner

Thanks, I'm aware of this unfortunate regression, and working on a fix.

@moroshko
Copy link
Owner

This is fixed in v6.0.0 now.

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