简体   繁体   中英

jQuery draggable clone - safari issue

I have a issue with dragging and dropping element within the Safari 8.0.4 on Mac. In all other browsers that I tested on Mac and Win everything works fine except in this one.

I have a draggable element with clone helper and containment set to 'document', and iFrameFix to true. When I remove this clone helper line everything works fine, but when the helper is enabled, element can be dropped only if the top of the dragged element is inside the droppable area.

On droppable element i have tolerance set to touch but that's ignored in this case with clone helper.

The same situation as here:

jQuery UI: Droppable ('drop' event, tolerance: touch ) bug in safari (mac)

Any hint?

My page is included in iframe btw, don't know if that's important or not.

Try setting the element CSS as:

position: absolute !important;

It may be the missing piece. ;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM