Ticket #4380 (closed bug: fixed)

Opened 7 years ago

Last modified 6 years ago

draggable start callback returns undefined ui.offset and ui.position

Reported by: DRHansen Owned by:
Priority: major Milestone: 1.8
Component: ui.draggable Version: 1.7.1
Keywords: start ui offset position Cc: drhansen@…
Blocking: Blocked by:


this.position and this.positionAbs are not set before calling this._trigger("start", event) in _mouseStart:

If they are set by adding:

  // 2009-03-20 14:14:12 DRH
  //Compute the helpers position
  this.position = this._generatePosition(event);
  this.positionAbs = this._convertPositionTo("absolute");

just before:

  //Call plugins and callbacks
  this._trigger("start", event);

proper values are available for _uiHash() when it creates the ui object in _trigger()

Change History

comment:1 Changed 7 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 6 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in #3106.

Note: See TracTickets for help on using tickets.