Opened 12 years ago

Closed 12 years ago

#2965 closed bug (fixed)

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.

Change History (3)

comment:1 Changed 12 years ago by rdworth

Added test in [178]

comment:2 Changed 12 years ago by paul

Status: newaccepted

comment:3 Changed 12 years ago by paul

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.