For me solutions with both handles and resize
handler worked fine, so user see handle but can resize only horizontally, similar solution should work for vertical. Without bottom right handler user might be unaware that he can resize element.
When using ui.size.height = ui.originalSize.height;
it will not work properly if element changed it s size from initial state.
foo.resizable({
// Handles left right and bottom right corner
handles: e, w, se ,
// Remove height style
resize: function(event, ui) {
$(this).css("height", );
}
});
For better performance $(this)
could be removed:
var foo = jQuery( #foo );
foo.resizable({
// Handles left right and bottom right corner
handles: e, w, se ,
// Remove height style
resize: function(event, ui) {
foo.css("height", );
}
});