Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sortable: Redetermine floating flag when recalculating positions #1381

Closed
wants to merge 3 commits into from

Conversation

tjvantoll
Copy link
Member

This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498

This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498
Closes jquerygh-1381
element = $( "#qunit-fixture" ).html( "<ul></ul>" ).find( "ul" );

element
.css({ "float": "left", width: "100px" })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split each property to its own line. Apples to the call below too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@tjvantoll
Copy link
Member Author

Addressed all comments.

@scottgonzalez
Copy link
Member

Looks good to me.

@tjvantoll tjvantoll closed this in f656aeb Nov 4, 2014
tjvantoll added a commit that referenced this pull request Nov 7, 2014
This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498
Closes gh-1381
tjvantoll added a commit that referenced this pull request Mar 10, 2015
This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498
Closes gh-1381
(cherry picked from commit f656aeb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants