constraining a resizable doesn't work in 1.10.2 but works in 1.9.2
http://jsfiddle.net/9MTpq/
I wanted to use this code to stop the div from sizing beyond it's initial dimension:
- $('#rs1').resizable({
- resize: function(event, ui) {
- console.log("ui.size.width " + ui.size.width + " ui.originalSize.width " + ui.originalSize.width);
- return ui.size.height = ui.originalSize.height;
- }})
Got it working in jsfiddle but just could not get it to work in my app. Finally, after much fiddling, turns out this code works in 1.9.2 but not in 1.10.2. Is this a bug?
Jquery ui link that I was using: //cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js
I confirmed that adding that link to the fiddle that I provided will stop the resize-constrain from working.