Opened 10 years ago

Closed 10 years ago

#9422 closed bug (notabug)

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:

Description

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

Change History (2)

comment:1 Changed 10 years ago by PatsyIssa

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.

comment:2 Changed 10 years ago by tj.vantoll

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.