#9443 closed bug (duplicate)
Can't move later added items to last position on initially empty floating sortable with {axis: x} option
Reported by: | gentooboontoo | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Bug triggered because floating detection returns always false when sortable is initially empty.
JSFiddle demo: http://jsfiddle.net/gentooboontoo/8dRdp/6/
Change History (4)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #7498.
This is part of a bigger problem in that "floating" is only determined during creation and not updated by the refresh
method.
While your fix does work for this specific case, I'd prefer we land something that will generically solves the problem. gentooboontoo, would you be interested in looking into that?
comment:4 Changed 9 years ago by
Consider reopening per http://bugs.jqueryui.com/ticket/10083#comment:2.
Note: See
TracTickets for help on using
tickets.
Pull request with fix and associated test: https://github.com/jquery/jquery-ui/pull/1035