Skip to content

Conversation

@minevskiy
Copy link
Contributor

@madpotato , this is the cause of menu not closing on selection:

  1. isOpen wasn't set to false because the blur event was not fired
  2. blur was not fired because there was no focus set in the first place
  3. focus was not set because of a bug in componentDidUpdate which is fixed in this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that there was a typo: selectIndex rather than selectedIndex

ivanbogdanov pushed a commit that referenced this pull request Nov 4, 2015
@ivanbogdanov ivanbogdanov merged commit 12a8305 into master Nov 4, 2015
@minevskiy minevskiy deleted the im-fix-lookup-focus branch November 4, 2015 02:41
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.

3 participants