Sortable
Sortable copied to clipboard
Сlassname and attributes are not removed (Clone only list)
Hi! Awesome library! But I have a problem. When I use pull: "clone" option, drop some element from this list to another, some attributes and class name of cloned item (which in source list) are not removed and this causing unexpected behavior for list. jsbin example: http://jsbin.com/duwijibidu/edit?html,js,output
some attributes and class name of cloned item
I do not understand, please give an example.
- Drag item (ex. "A") from "Source list" into "Target list"
- Inspect item "A" in "Source list" - it has classname "sortable-chosen", draggable="true" and style="will-change: transform;"
- All these attributes and styles disappear only after clicking on an item "A" in "Source list"
http://jsbin.com/cixadukode/edit?html,js,output
Done: https://github.com/RubaXa/Sortable/commit/45f9618bc7bed4611c277002f241f21c9580b38c