Skip to content
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
@43081j

Description

@43081j

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions