Skip to main content

Search and Top Navigation

#8135 open bug ()

Opened February 24, 2012 01:23PM UTC

Last modified March 16, 2013 07:32PM UTC

Horizontal sortable shifts causes elements to shift down

Reported by: bertjh Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:
Description

When creating a horizontal scrollable using "display: inline-block", moving an element - which will activate the placeholder - causes the li-elements to shift down.

Demo: http://jsfiddle.net/Bertjh/rTTMF/5/

Attachments (0)
Change History (11)

Changed February 24, 2012 01:38PM UTC by Bertjh comment:1

resolution: → fixed
status: newclosed

Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.

Changeset: b6e1f25ab8c038306146a6ead041dc18bfb9e8c2

Changed February 24, 2012 01:39PM UTC by Bertjh comment:2

Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down.

(cherry picked from commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2)

Changeset: f0b7130a5459d9f34b1e05ad6306d3909131bd8c

Changed February 24, 2012 01:40PM UTC by scottgonzalez comment:3

milestone: 1.91.8.19

Changed April 30, 2012 02:43PM UTC by Scott González comment:4

Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."

This reverts commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2.

Changeset: b38dd26da0a7297941839195ff75885d6ecc67d0

Changed April 30, 2012 02:44PM UTC by scottgonzalez comment:5

milestone: 1.8.191.9
resolution: fixed
status: closedreopened

This was causing too many regressions.

Changed April 30, 2012 02:53PM UTC by Scott González comment:6

resolution: → fixed
status: reopenedclosed

Revert "Sortable: modified the contents of placeholder to a single " ". Fixed #8135 - sortable: Horizontal sortable shifts causes elements to shift down."

This reverts commit b6e1f25ab8c038306146a6ead041dc18bfb9e8c2.

(cherry picked from commit b38dd26da0a7297941839195ff75885d6ecc67d0)

Changeset: 1ffafe65b0dd2d8b0ae4dfcfe3beffb3123c7caf

Changed April 30, 2012 02:56PM UTC by scottgonzalez comment:7

resolution: fixed
status: closedreopened

silly Trac/GitHub integration...

Changed October 11, 2012 02:55PM UTC by scottgonzalez comment:8

milestone: 1.9.02.0.0

Changed October 27, 2012 08:19PM UTC by mikesherov comment:9

status: reopenedopen

Changed November 08, 2012 09:38PM UTC by scottgonzalez comment:10

#8407 is a duplicate of this ticket.

Changed March 16, 2013 07:32PM UTC by tj.vantoll comment:11

Reduced test case against master showing the 2 workarounds mentioned: http://jsfiddle.net/tj_vantoll/vfgb5/.