From 076acd712472fa884596c8c21e80ceb5a0640b21 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Wed, 6 Apr 2016 10:39:36 -0700 Subject: [PATCH] fix(datepicker): ensure datepicker is focused - When date is selected, ensure datepicker is selected in Chrome --- src/datepicker/datepicker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/datepicker/datepicker.js b/src/datepicker/datepicker.js index 6116f139a9..709d89a39c 100644 --- a/src/datepicker/datepicker.js +++ b/src/datepicker/datepicker.js @@ -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) {