This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
items selector does not update properly #268
Open
Description
ui-sortable watches ui-sortable
in scope and, on change, applies each option individually using sortable('option', key, value)
.
The problem with this is that the default items
selector is > *
. Due to this bug, when we apply our actual items
selector, nothing will change. So theoretically, items
does nothing right now, everyone has been selecting > *
without realising.
All child elements will remain draggable/sortable.
Of course, to fix this it means jquery-ui team needs to fix their 2 year old bug (which is still broken), which doesn't seem likely.
Maybe we could somehow only call the initial sortable()
once we have the config from $scope.ui-sortable
?
Original Title: items selector does not function due to jquery-ui bug