Opened 9 years ago

Closed 7 years ago

#6260 closed bug (worksforme)

Containment "parent" stops working with sortable tables

Reported by: kmb Owned by: kmb
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:

Description

test1.html describes the problem with div-enclosed tables with their containment working at first. But after you've dropped one table at a different position you can grab a table from the other block and move in out of it's boundaries.

Take "table 2" and drop it after "table 3". Then take "table 3" from the second block and you can move it up to the very first position.

My workaround here is shown in test2.html with a destroy and reinitialize of the sortable - there's probably a better workaround ;)

I've seen this bug first with jQuery UI 1.8.4 and tested it now on 1.8.6 after finally having time to write this up.

Attachments (1)

jquery_ui_containment_problem_latest.zip (84.5 KB) - added by kmb 9 years ago.
test-case

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by kmb

test-case

comment:1 Changed 7 years ago by Scott González

Milestone: TBD2.0.0

comment:2 Changed 7 years ago by mikesherov

Owner: set to kmb
Status: newpending

Thanks for taking the time to contribute to the jQuery UI project! I can no longer reproduce the issue using the latest jQuery and jQuery UI using the info provided. http://jsfiddle.net/4Mdje/

If you can still reproduce it, please feel free to reply to this ticket with a test case showing the problem. Thanks!

comment:3 Changed 7 years ago by kmb

Status: pendingnew

Cool. Thanks!

comment:4 Changed 7 years ago by mikesherov

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