yui / yui3

A library for building richly interactive web applications.
http://yuilibrary.com/
Other
4.12k stars 1.29k forks source link

Drag flaky after dragging sub-elements #1321

Open andrewnicols opened 10 years ago

andrewnicols commented 10 years ago

Difficult to explain this one, so here's a quick jsbin: http://jsbin.com/IxaNuto/1/edit?js,output

Essentially, if you have a draggable list of items, which each contain draggable items, and you move the inner items around, and then the outer ones, there is sometimes some flaky stuff going on.

To replicate on the above jsbin:

Expected result: It works

Actual result: The outer item that you dropped the inner item in and moved it out of is moved

andrewnicols commented 10 years ago

Also seeing this with: