meteor-sortablejs icon indicating copy to clipboard operation
meteor-sortablejs copied to clipboard

Meteor 'remove' doesn't updates the order numbers

Open rgnevashev opened this issue 9 years ago • 0 comments

In a sorted list with order numbers from (1,2 .. N), 'onSort' is amazing. It just updates the order number of items in the list. But, on removing or deleting an item from the list, the order number of elements next to deleted item are not changing. Not sure if it is expected condition or un-implemented, but it would be nice if the order numbers update on remove too.

Ex: 1 2 3 4 5 6 7 8 On remove : 5 Current order list: 1 2 3 4 6 7 8 Proposed order list: 1 2 3 4 5 6 7

rgnevashev avatar Mar 04 '16 11:03 rgnevashev