Skip to main content

Search and Top Navigation

#9422 closed bug (notabug)

Opened July 11, 2013 04:00PM UTC

Closed July 12, 2013 12:20PM UTC

Placeholder bug when using sortable on bootstrap grid

Reported by: PatsyIssa Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Turning the placeholder option on causes it to only appear in the top left corner and if you look at the animation once an element has been sorted it goes up to the top left corner before going in the place it was dropped.

Js fidle

Attachments (0)
Change History (2)

Changed July 12, 2013 08:00AM UTC by PatsyIssa comment:1

I managed to solve it and locate the cause, bootstrap classes float the elements while the placeholder has display:block; giving the placeholder class a float with the proper margins solves the issue.

Changed July 12, 2013 12:20PM UTC by tj.vantoll comment:2

resolution: → notabug
status: newclosed