Search and Top Navigation
#9655 closed bug (duplicate)
Opened November 12, 2013 11:19AM UTC
Closed November 12, 2013 11:30AM UTC
Droppable: Tolerance doesn't take draggable's axis into account
Reported by: | joshgreifer | Owned by: | joshgreifer |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.droppable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
http://jsfiddle.net/apaul34208/Y6KM9/4/
When a draggable's axis is set, over() is triggered when the mouse pointer (not the draggable) is dragged over an accepting droppable regardless of the droppable's
tolerance value, even though the draggable is not within the droppable's tolerance area - i.e. beahaves as though tolerance was set to 'pointer'. Tested in multiple browsers, recent versions of jQueryUI.
Posted in stackoverflow: http://stackoverflow.com/questions/19915668/constrained-draggable-should-not-trigger-over-in-droppable-in-this-situation
Attachments (0)
Change History (4)
Changed November 12, 2013 11:23AM UTC by comment:1
owner: | → joshgreifer |
---|---|
status: | new → pending |
Changed November 12, 2013 11:25AM UTC by comment:2
_comment0: | Replying to [comment:1 scott.gonzalez]: \ > I'm not seeing that behavior. In fact, I can't even get my pointer to the bottom droppable while the draggable exists since you're destroying the instance as soon as the pointer moves out of the draggable element. \ > \ > Can you please provide an updated test case? \ Sorry, posted incorrect jsFiddle. Updated. The linked one is an attempt at a workaround. \ [http://jsfiddle.net/joshgreifer/Y6KM9/] → 1384255642858659 |
---|---|
status: | pending → new |
Replying to [comment:1 scott.gonzalez]:
I'm not seeing that behavior. In fact, I can't even get my pointer to the bottom droppable while the draggable exists since you're destroying the instance as soon as the pointer moves out of the draggable element. Can you please provide an updated test case?
Sorry, posted incorrect jsFiddle. Updated. The linked one is an attempt at a workaround. jsFiddle to exhibit behavior is:
Changed November 12, 2013 11:28AM UTC by comment:3
component: | ui.draggable → ui.droppable |
---|---|
status: | new → open |
summary: | droppable's over() fired when draggable not within its tolerance area if draggable's axis is set → Droppable: Tolerance doesn't take draggable's axis into account |
I'm not seeing that behavior. In fact, I can't even get my pointer to the bottom droppable while the draggable exists since you're destroying the instance as soon as the pointer moves out of the draggable element.
Can you please provide an updated test case?