Search code examples
jquery-uiresizejquery-ui-resizable

jQuery UI Resizable stop resizing in the resize event


Using jQuery UI Resizable I'm trying to prevent resizing based on various rules. The built-in containment feature doesn't seem to work properly with absolutely positioned elements, and I would need something more flexible than that anyway.

Having something like this:

$( ".selector" ).resizable({ resize : function(event, ui) { /* ??? */ } });

How can I tell the "ui" object to prevent resizing?

Thanks.


Solution

  • Doesn't seem to be possible with the current version.