-
Notifications
You must be signed in to change notification settings - Fork 6.7k
when datepicker opening,it's focused,please do not this,ok? #2546
Comments
It would be better if it was possible to deactivate this feature trough datepickerConfig instead of removing it altogether, as the OP suggests. Usecase: We have a datepicker popping up when an input-field gets focus, but the focus is immediately lost to the popup. You'll have to click on the input-field a second time if you want to type a date. This could be implemented by conditionally preventing the datepicker.focus event being broadcast. |
+1 |
1 similar comment
+1 |
+1 |
Will this issue ever get fixed? The input field losing focus is a major problem for us, users always have to click twice if they want to type a date in the input field. It would be great if this was configurable... |
Nothing is stopping anyone from opening a PR from being opened fixing this if it is desired - there are other much higher priority issues in need of tackling though, which is likely why there hasn't been any movement on this. |
Thanks for the fix! |
var focusElement = function() {
$timeout(function() {
//self.element[0].focus();
}, 0 , false);
};
The text was updated successfully, but these errors were encountered: