Allow to click anywhere in tag-input for focus
This commit is contained in:
@@ -628,6 +628,9 @@ app.directive('tagInput', function () {
|
||||
return tempEl.remove();
|
||||
}
|
||||
});
|
||||
element.bind('click', function () {
|
||||
element[0].firstChild.lastChild.focus();
|
||||
});
|
||||
element.bind('keydown', function (e) {
|
||||
var key = e.which;
|
||||
if (key === 9 || key === 13) {
|
||||
|
||||
Reference in New Issue
Block a user