Skip to main content

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:

http://jsfiddle.net/gentooboontoo/8dRdp/6/

Attachments (0)
Change History (4)

Changed July 22, 2013 07:00AM UTC by gentooboontoo comment:1

Pull request with fix and associated test: https://github.com/jquery/jquery-ui/pull/1035

Changed July 22, 2013 06:15PM UTC by tj.vantoll comment:2

resolution: → duplicate
status: newclosed

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?

Changed June 02, 2014 07:23PM UTC by tj.vantoll comment:3

#10083 is a duplicate of this ticket.

Changed June 02, 2014 07:32PM UTC by tj.vantoll comment:4