Search and Top Navigation
#9443 closed bug (duplicate)
Opened July 22, 2013 06:53AM UTC
Closed July 22, 2013 06:15PM UTC
Last modified June 02, 2014 07:32PM UTC
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:
Attachments (0)
Change History (4)
Changed July 22, 2013 07:00AM UTC by comment:1
Changed July 22, 2013 06:15PM UTC by comment:2
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
refreshmethod.
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?
Changed June 02, 2014 07:32PM UTC by comment:4
Consider reopening per http://bugs.jqueryui.com/ticket/10083#comment:2.
Pull request with fix and associated test: https://github.com/jquery/jquery-ui/pull/1035