Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

fix(sortable): fix incorrect helper returned from getSortingHelper(). #514

Closed
wants to merge 1 commit into from

Conversation

joujiahe
Copy link
Contributor

The helper element is not always in the last position while created
from a function and append it to another DOM.

E.g. the following will mess up the DOM position after canceled update.

var sortableOption = {
  helper: function (evt, ui) {
    return ui.clone().appendTo('body');
  }
};

The helper element is not always in the last position while created
from a function and append it to another DOM.

E.g. the following will mess up the DOM position after canceled update.
```
var sortableOption = {
  helper: function (evt, ui) {
    return ui.clone().appendTo('body');
  }
};
```
@thgreasi
Copy link
Contributor

Hi there, thanks for the PR. Can you please check the lint errors?

@thgreasi
Copy link
Contributor

Thanks for the PR! Merged with #515

@thgreasi
Copy link
Contributor

Released as v0.17.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants