Skip to content

Commit

Permalink
#177 fixed, tab key on input hide datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
babakhani committed Oct 13, 2018
1 parent 6c54b8a commit c6bb804
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/es6/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ class Input {
evt.stopPropagation();
return false;
}, 200));

$(this.elem).on('keydown', Helper.debounce(function (evt) {
if (evt.which === 9){
that.model.api.hide();
return false;
}
}, 200));

}

Expand Down

0 comments on commit c6bb804

Please sign in to comment.