Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use the elements z-index as base for z-index calculations when resizing and dragging #58
When resizing and dragging, a fixed z-index was used and set (in case of resizing) on the event-element. If the z-index was altered by the developer, it was reset after resizing.
In your patch, to handle customized z-indexes, you are setting the dragged z-index to be the original +1. But what we really want to do is to make it appear above all other events, so we need to set the z-index to higher than all the other events' z-indexes, which could be custom as well.
That solution could get hairy, so my solution was to take the inline z-index styles on the event elements, and put them into the stylesheet, so they could be more easily overridden.