Ticket #2965 (closed bug: fixed)

Opened 6 months ago

Last modified 6 months ago

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:

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

Changed 6 months ago by rdworth

Added test in [178]

Changed 6 months ago by paul

  • status changed from new to accepted

Changed 6 months ago by paul

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.