Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(datepicker): ensure datepicker is focused
Browse files Browse the repository at this point in the history
- When date is selected, ensure datepicker is selected in Chrome

Closes #5761
Fixes #5754
  • Loading branch information
wesleycho committed Apr 6, 2016
1 parent 3b8f18e commit 33cbd0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/datepicker/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst

$scope.$emit('uib:datepicker.mode');
}

$scope.$broadcast('uib:datepicker.focus');
};

$scope.move = function(direction) {
Expand Down

0 comments on commit 33cbd0f

Please sign in to comment.