jQuery UI #6860
http://bugs.jqueryui.com/ticket/6860
by TJ VanToll
HTML
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<link href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" rel="stylesheet" />
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<p><a href="http://bugs.jqueryui.com/ticket/6860">jQuery UI #6860</a> - The <code>helper</code> and <code>alsoResize</code> options do not play nice together.</p>
<div id="resize">
<div id="inner">
INNER DIV
</div>
OUTER DIV
</div>
CSS
body { padding: 20px; }
p { line-height: 1.5; margin-bottom: 20px; }
#resize {
width: 250px;
height: 250px;
border: 1px solid red;
}
#inner {
margin: 5px;
width: 175px;
height: 175px;
border: 1px solid blue;
}
JavaScript
$('#resize').resizable({
helper: "ui-resizable-helper",
alsoResize: "#inner"
});