Improved repeating esc behaviour
This commit is contained in:
parent
da77701558
commit
a0f4949807
@ -595,6 +595,11 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
}
|
||||
else {
|
||||
$scope.$emit('esc_no_more');
|
||||
// Strange Chrome bug, when field doesn't get blur, but becomes inactive after location change
|
||||
setTimeout(function () {
|
||||
searchField.blur();
|
||||
searchField.focus();
|
||||
}, 100);
|
||||
}
|
||||
return cancelEvent(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user