ui-date
ui-date copied to clipboard
Change z-index default value
The z-index is automatically set to z-index: 2 when I click on . How can I change this?
I've also encountered a situation where the default z-index does not work for me.
This is a problem with $.datepicker not ui-date.
one hack solution is the following (adapted from http://stackoverflow.com/questions/11533161/jquery-ui-datepicker-change-z-index)
$scope.datepickerOptions = {
beforeShow : function(element, options){
setTimeout(function(){
angular.element(element).datepicker("widget").css("zIndex", 200000);
}, 100);
}
}
created patch here: https://github.com/angular-ui/ui-date/pull/69
:+1:
:+1:
:+1: