Search and Top Navigation
#2965 closed bug (fixed)
Opened June 06, 2008 01:54PM UTC
Closed June 08, 2008 06:20AM UTC
draggable cursorAt doesn't account for margin correctly
Reported by: | rdworth | Owned by: | paul |
---|---|---|---|
Priority: | critical | Milestone: | 1.5 |
Component: | ui.draggable | Version: | 1.5rc1 |
Keywords: | draggable cursorAt margin | Cc: | |
Blocked by: | Blocking: |
Description
Given a draggable with a top and/or left margin, and the cursorAt option, the draggable is not positioned correctly relative to the cursor. For example, if the draggable has a 20px margin, and cursorAt is set at [0, 0] the cursor should be at the top/left of the element, not at the top/left of the element's margin as it currently is.
Added test in [178]