Search and Top Navigation
#8342 reopened bug ()
Opened May 22, 2012 09:48AM UTC
Last modified November 05, 2015 02:00PM UTC
Sortable: Incorrect behaviour (or incorrect documentation) of sortable option tolerance: 'intersect'
Reported by: | dioslaska | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.sortable | Version: | 1.8.20 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Here's what the docs sais about the tolerance option:
intersect: draggable overlaps the droppable at least 50%
But if the mouse pointer is not above the sortable items, the sort does not happen, no matter that the dragged element is at least 50% over another sortable item (the functionality I expect) This happens on the demo page as well, tested on all major browsers. It is even more annoying if the drag is restricted on one of the axis.
Here is an example:
Here is the expceted behaviour (sort should occur if the dragged element overlaps anouther sortable element, even if the mouse pointer is not over that element) with a workaround solution
Attachments (0)
Change History (11)
Changed October 11, 2012 02:56PM UTC by comment:1
milestone: | 1.9.0 → 2.0.0 |
---|
Changed November 04, 2012 09:38PM UTC by comment:2
status: | new → open |
---|---|
summary: | Incorrect behaviour (or incorrect documentation) of sortable option tolerance: 'intersect' → Sortable: Incorrect behaviour (or incorrect documentation) of sortable option tolerance: 'intersect' |
Changed November 15, 2012 12:07AM UTC by comment:3
Discussion on Stack Overflow - http://stackoverflow.com/questions/10637095/jquery-ui-sortable-tolerance-option-not-working-as-expected
Changed February 15, 2013 12:14PM UTC by comment:4
Fixed in pull request https://github.com/jquery/jquery-ui/pull/915
Changed March 18, 2013 01:55AM UTC by comment:5
resolution: | → duplicate |
---|---|
status: | open → closed |
Duplicate of #8274.This was already fixed in 1.8.20 for #8274. You can see that it works here: http://jsfiddle.net/tj_vantoll/tDGgM/. If you change the version from 1.8.20 --> 1.8.19 the bug appears.
Changed March 18, 2013 10:57PM UTC by comment:6
This is working as expected when the sortable is constrained to an axis per #8274 but the problem still exists when no axis is specified http://jsfiddle.net/tj_vantoll/DdLjd/.
Changed March 18, 2013 10:58PM UTC by comment:7
resolution: | duplicate |
---|---|
status: | closed → reopened |
Changed August 29, 2013 12:16PM UTC by comment:9
Updated versions in the test case: http://jsfiddle.net/tj_vantoll/QdcW7/
Per #9524 this also happens on the demo page: http://jqueryui.com/sortable/
Changed May 21, 2014 04:29PM UTC by comment:10
#10048 is a duplicate of this ticket.
Changed November 05, 2015 02:00PM UTC by comment:11
#14778 is a duplicate of this ticket.