sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

Bug with z-index in color picker #86

Closed IAmJulianAcosta closed 10 years ago

IAmJulianAcosta commented 10 years ago

When the color picker is over the crop tool, this happens:

1 2

The color picker doesn't handle the mouse event and it is handled by the crop tool.

I think that is the z-index that is added to all the divs. I found this style in a div that is child of ".jcrop-holder":

element.style {
    display: block;
    height: 190px;
    left: 389px;
    position: absolute;
    top: 174px;
    width: 175px;
    z-index: 600;
}

Adding z-index: 1000 to

 <div class ="ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-dialog-buttons ui-draggable ui-resizable wp-dialog">

, solved the problem.

Chrome Windows - Latest Version Firefox Windows - Latest Version WP 3.8.1 Latest version of Post Thumbnail Editor

Console shows nothing.

sewpafly commented 10 years ago

Great catch

IAmJulianAcosta commented 10 years ago

Bug related: #87

sewpafly commented 10 years ago

Appears to be fixed in wordpress 3.9