Skip to content

Commit e1d8a3b

Browse files
Fix highlighted choice remaining on omnibox blur (#58)
1 parent 294c5da commit e1d8a3b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngc-omnibox",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "A modern, flexible, Angular 1.x autocomplete library with limited assumptions.",
55
"main": "dist/ngc-omnibox.js",
66
"scripts": {

src/angularComponent/ngcOmniboxController.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export default class NgcOmniboxController {
5252
blurTimeout = setTimeout(() => {
5353
if (this.hideOnBlur !== 'false') {
5454
this.hideSuggestions = true;
55+
this.highlightedChoice = null;
5556
$scope.$apply();
5657
}
5758

0 commit comments

Comments
 (0)