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

fix(typeahead): Clicking an item does not raise the typeaheadOnSelect event #363

Closed
johan13 opened this issue Apr 1, 2016 · 6 comments
Closed
Assignees
Labels
Milestone

Comments

@johan13
Copy link

johan13 commented Apr 1, 2016

Repo steps:

Result: The suggestions list disappears, but the typeaheadOnSelect is not raised and the input field is empty.
Expected: That the typeaheadOnSelect event is raised just as it would be if I'd hit enter.

@johan13
Copy link
Author

johan13 commented Apr 1, 2016

I got the same result on Mac Chrome, Mac Firefox and Windows IE11.

@valorkin valorkin changed the title Typeahead: Clicking an item does not raise the typeaheadOnSelect event fix(typeahead): Clicking an item does not raise the typeaheadOnSelect event Apr 1, 2016
@valorkin valorkin added the issue label Apr 1, 2016
@valorkin valorkin added this to the beta.14 milestone Apr 1, 2016
@rbaarsma
Copy link
Contributor

rbaarsma commented Apr 4, 2016

+1

@koodikindral
Copy link

currently a blocker

@valorkin valorkin self-assigned this Apr 5, 2016
@koodikindral
Copy link

Seems that #351 did break this, blur event seems to override select event callback for some reason.

@slintes
Copy link
Contributor

slintes commented Apr 11, 2016

ups, sorry for introducing this bug with my blur event commit. I noticed it today myself, seems I always selected by pressing enter before...

@fkowal
Copy link
Contributor

fkowal commented Apr 12, 2016

Hi made a fix using a different approve. #398 Which one makes more sense ?

valorkin pushed a commit that referenced this issue Apr 12, 2016
@valorkin valorkin changed the title fix(typeahead): Clicking an item does not raise the typeaheadOnSelect event fix(typeahead): Clicking an item does not raise the typeaheadOnSelect event Apr 12, 2016
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

6 participants