Lets have menu like this
<div id="myMenu" style="width:150px;">
<div onclick="">Menu1</div>
<div onclick="">Menu2</div>
<div onclick="">Menu3</div>
<div onclick="">Menu4</div>
<div onclick="">Menu5</div>
</div>
It has 5 menu options.
If I call
$($('#myMenu').menu('findItem','Menu1').target).hide();
Menu1 should disapper and menu itself should be resized to fit 4 options instead of 5.
In 1.3.6 I see this kind of resize in not called and menu appears with empty space at the end of menu.
In 1.3.5 this problem is not visible.
See attached picture