mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
draggable: ui.absolutePosition, wasn't updated through plugins, fixes #3002
This commit is contained in:
parent
c32255fcfa
commit
3603a87d7d
@ -252,6 +252,7 @@ $.widget("ui.draggable", $.extend($.ui.mouse, {
|
||||
},
|
||||
propagate: function(n,e) {
|
||||
$.ui.plugin.call(this, n, [e, this.uiHash()]);
|
||||
if(n == "drag") this.positionAbs = this.convertPositionTo("absolute"); //The absolute position has to be recalculated after plugins
|
||||
return this.element.triggerHandler(n == "drag" ? n : "drag"+n, [e, this.uiHash()], this.options[n]);
|
||||
},
|
||||
destroy: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user