Skip to content

Commit

Permalink
fix(typeahead): hide on blur when item was hovered
Browse files Browse the repository at this point in the history
fixes #1495
  • Loading branch information
valorkin committed Jan 16, 2017
1 parent bd5171a commit 4311c18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typeahead/typeahead-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export class TypeaheadContainerComponent {
return itemStr;
}

@HostListener('mouseleave')
@HostListener('blur')
public focusLost(): void {
this.isFocused = false;
Expand Down

0 comments on commit 4311c18

Please sign in to comment.