angular-ui / ui-sortable

jQuery UI Sortable for AngularJS
http://angular-ui.github.io/ui-sortable/
MIT License
1.26k stars 444 forks source link

when drop item into sortable but it dropped another same sortable under it #534

Closed soonwait closed 7 years ago

soonwait commented 7 years ago

means that i have a layout sortable div which contains some items... but this div used only to show layout READONLY than configured

then, i user to configure the layout, it open an modal dialog contains another sortable div

two sortable with same style but a 'configing' class

when drag items and drop into sortable of dialog, but the ites falls into READONLY sortable....sad!

thgreasi commented 7 years ago

I'm not sure whether I understood your use case right, but please check your ng-model and your connects-to options. A fork of a code example would be great.

thgreasi commented 7 years ago

Please retest against the just released v0.17.2.

soonwait commented 7 years ago

thanks, i ve changed the both connectWith to defferent, then solve my problems.