ractivejs / Ractive-decorators-sortable

Drag and drop items to sort them
http://ractivejs.github.io/Ractive-decorators-sortable/
MIT License
15 stars 21 forks source link

Connected sortable lists? #23

Open robinklaassen opened 9 years ago

robinklaassen commented 9 years ago

Hi,

I've been using Ractive to rebuild an old AngularJS application and I've been absolutely in love with it. Up until right about now. In the previous app I used jQuery UI's -sortable- together with an Angular plugin to create connected sortable lists with proper two-way binding. With Ractive however, I can't seem to get it to work. This Ractive sortable decorator doesn't seem to support connected lists (am I wrong?) and simply including jQuery UI to manipulate the DOM means the entire app goes haywire. I've even tried creating an 'on sortable stop' method to restore the DOM to its earlier state and then passing the new list variable to Ractive, but to no avail.

Can the decorator support connected lists, or will it in the near future? Or are there other ways to implement this functionality? I would really love to keep using Ractive, but as the functionality is critical for the app, I might have to switch frameworks again...

Thanks in advance for any help :)