jquery拖放:Droppable对float:left或inline-block的元素不起作用

Sco*_* UX 3 jquery droppable

其他人之前有这个问题吗?

我似乎无法进入具有显示的TARGET:inline-block或float:left.

这是示例代码的链接:http: //jsbin.com/arusu3/141

我发现的一些信息:http: //forum.jquery.com/topic/connecttosortable-fails-when-sortable-list-is-floated

我注意到如果我将它完全转储到中间,可能会工作INLINE.但是如果我拖动的任何部分接触到它会接受掉落会很好.

Qua*_*Van 9

我能够进入div-inline.(使用最新的Chrome)

也许这是一个容忍问题?

    target.droppable({
        drop: function(event, ui) {
            alert('row dropped ' + $(this).text());
        },
        accept: source.selector,
        tolerance: 'touch'
    });
Run Code Online (Sandbox Code Playgroud)

http://jsbin.com/arusu3/144:编辑了"触摸"的容差

http://jqueryui.com/demos/droppable/#option-tolerance