ui-date icon indicating copy to clipboard operation
ui-date copied to clipboard

Change z-index default value

Open hypersurface opened this issue 11 years ago • 6 comments

The z-index is automatically set to z-index: 2 when I click on . How can I change this?

hypersurface avatar Aug 01 '13 02:08 hypersurface

I've also encountered a situation where the default z-index does not work for me.

sthomp avatar Aug 24 '13 04:08 sthomp

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);
    }
}

deanapeterson avatar Feb 07 '14 18:02 deanapeterson

created patch here: https://github.com/angular-ui/ui-date/pull/69

deanapeterson avatar Feb 07 '14 19:02 deanapeterson

:+1:

vvakame avatar Aug 14 '14 07:08 vvakame

:+1:

grapswiz avatar Aug 14 '14 09:08 grapswiz

:+1:

stephennancekivell avatar Jan 30 '15 00:01 stephennancekivell