furf/jquery-ui-touch-punch — Issue #23: Z-index not working
Author: alfrednerstu
Created: 2012-01-18 09:50:56+00:00
State: open

First of all the dragging and dropping works flawless!

I've just got one problem, on my desktop my draggable is above everything else, but on ipad it's not.

I use the following code, any ideas how to solve it?

$( ".draggable" ).draggable({
revert: 'invalid',
revertDuration: 250,
zIndex: 2700,
//helper: 'clone',

start: function(event, ui) {
ui.helper.data('original-position', ui.helper.offset());
},
stop: function(event, ui) {
$(this).removeClass('ui-draggable-hover')
ui.helper.offset(ui.helper.data('original-position'));
}
});
Thanks for a great lib!