jQuery UI #3634
http://bugs.jqueryui.com/ticket/3634
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>
<!--
<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
-->
<p><a href="http://bugs.jqueryui.com/ticket/3634">jQuery Bug #3634</a>: When making a resizable that can be adjusted on only one axis, relative width / heights are not respected on the other axis. Here, you can see the 80% width is respected on the textarea that is not resizable but it is set in stone on the one that is not.</p>
<label for="first">Resizable:</label>
<textarea id="first"></textarea>
<label for="second">Not Resizable:</label>
<textarea id="second"></textarea>
CSS
body { padding: 20px; }
p { line-height: 1.5; margin-bottom: 30px; }
label { display: block; }
textarea { width: 80%; }
JavaScript
$('#first').resizable({ handles: 'n, s' });