resizable callback is called too early
Problem is the resizable callback is called before the element is
resized, and before the position and size properties are updated. This
makes it so that any callback that wants to respond to a resize event
is always one step behind, since it gets the before value instead of
the after value.
My code below alerts the size properties as was before the element is
resized. Ideas?
$(obj).resizable({
stop: function(event, ui) {
alert(ui.size.width + " : " + ui.size.height);
},
handles: "all",
animate: true
});