Resizable: with helper, dragging horizontally or vertically only reduces opposite direction by 1px
|Reported by:||lukepage||Owned by:|
reproduced using demos page.
At least in modern chrome, modern firefox and IE10.
Resize up and down continually and you will see the width shrink by 1px per operation. Resizing the width continually and the height shrinks. Use the horizontal only/vertical only handles.
This does not happen when also using a grid.
Cause seems to be the following code
which shrinks the width/height by 1px and then because that dimension cannot be changed, causes the size to be decreased by 1. I haven't figured out why you decrement by 1px (perhaps a comment would be useful?) but not taking away 1px when resizing in a fixed dimension appears to fix the problem, I just don't know the implications of it.
I found this possibly related issue: http://bugs.jqueryui.com/ticket/7271 which appears to be the opposite effect and only in IE7/IE8.