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 typeaheadOnSelectevent #389

Closed

Conversation

koodikindral
Copy link

Fixes: #363

@@ -10,7 +10,8 @@ const TEMPLATE:any = {
[Ng2BootstrapTheme.BS4]: `
<div class="dropdown-menu"
[ngStyle]="{top: top, left: left, display: display}"
style="display: block">
style="display: block"
(mouseleave)="hideMenu()">

This comment was marked as off-topic.

@slintes
Copy link
Contributor

slintes commented Apr 11, 2016

Please also see my PR #395. I keep the blur handling, and fixed the mouseclick handling by listening to the mousedown event instead click event. This this will also hide the popup for keyboard-only users (which will not work with this PR afaik).

@Toktik
Copy link

Toktik commented Apr 12, 2016

#395 fixes the problem

@fkowal
Copy link
Contributor

fkowal commented Apr 12, 2016

Fixed using a different approach #398. Which one makes more sense ?

@slintes
Copy link
Contributor

slintes commented Apr 12, 2016

I like your approach even more than mine :)

valorkin pushed a commit that referenced this pull request Apr 12, 2016
@valorkin valorkin closed this Apr 12, 2016
@valorkin
Copy link
Member

Thanks for PR, closed in favor of #398

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.

5 participants