Skip to content

Commit d28ce12

Browse files
committed
fixed #3026 - resizable resize handler is called too early
1 parent d0c11e9 commit d28ce12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/ui.resizable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,6 @@ $.widget("ui.resizable", $.extend($.ui.mouse, {
325325

326326
data = this._respectSize(data, e);
327327

328-
this.propagate("resize", e);
329-
330328
el.css({
331329
top: this.position.top + "px", left: this.position.left + "px",
332330
width: this.size.width + "px", height: this.size.height + "px"
@@ -337,6 +335,8 @@ $.widget("ui.resizable", $.extend($.ui.mouse, {
337335

338336
this._updateCache(data);
339337

338+
this.propagate("resize", e);
339+
340340
return false;
341341
},
342342
mouseStop: function(e) {

0 commit comments

Comments
 (0)