nestedSortable icon indicating copy to clipboard operation
nestedSortable copied to clipboard

Draggable Known Bug

Open adamgruber opened this issue 12 years ago • 4 comments

Any updates on getting this plugin to play nice with Draggable? Is there a workaround?

adamgruber avatar Feb 12 '13 20:02 adamgruber

Not for the moment, sorry. I would have had to change stuff in the jQuery UI core unfortunately...

2013/2/12 adamgruber [email protected]

Any updates on getting this plugin to play nice with Draggable? Is there a workaround?

— Reply to this email directly or view it on GitHubhttps://github.com/mjsarfatti/nestedSortable/issues/74.

mjsarfatti avatar Mar 04 '13 12:03 mjsarfatti

Have you tested this behavior with the latest version 2.0 by any chance?

mjsarfatti avatar Apr 02 '13 20:04 mjsarfatti

Just made a jsFiddle to test it out. Seems to work with the latest version of jQueryUI but not without issue.

http://jsfiddle.net/DQmaN/2/

• The hit area for dragging is a bit quirky • You cannot drag into a nested position unless there is already a nested element

The way around this seems to be to use two nestedSortables and connect them. You can set one to have maxLevels:-1 to keep it a flat tree. I'm using this method in a project and while it works, it is not without its own quirks.

adamgruber avatar Apr 03 '13 15:04 adamgruber

I can drag into nested position... using FF.

mjsarfatti avatar Apr 03 '13 17:04 mjsarfatti