Skip to main content

Search and Top Navigation

#10437 closed bug (fixed)

Opened August 01, 2014 12:31PM UTC

Closed August 05, 2014 06:23PM UTC

Last modified August 05, 2014 06:23PM UTC

Resizable: border with grid option working wrong

Reported by: Akatsukle Owned by: mikesherov
Priority: minor Milestone: 1.11.1
Component: ui.resizable Version: 1.11.0
Keywords: regression Cc:
Blocked by: Blocking:

Here's the jsfiddle:

If you are trying to resize an element which has a border (extra large here to make the bug obvious) to the minimal size, it will work well with most handle. However, with the top handle, the left handle and the top-left handle, the minimum size will be twice the larger of the border+the size it should have took.

For example, in this fiddle, the minimal size will be 70px (50px+2*10px) instead of 50px.

I have encountered this bug with 1.10.4 and 1.11.0. I haven't tried the other versions.

Attachments (0)
Change History (5)

Changed August 04, 2014 11:32PM UTC by tj.vantoll comment:1

keywords: → regression
status: newopen
summary: resizable on element with border with grid option working wrongResizable: border with grid option working wrong

Confirmed. This looks to have regressed in 1.10.4 as this same example works fine in 1.10.3 ( The most likely cause is the fix for #9611.

Changed August 05, 2014 01:28PM UTC by mikesherov comment:2

owner: → mikesherov
status: openassigned

This is indeed caused by #9611. Looking into it.

Changed August 05, 2014 05:58PM UTC by mikesherov comment:3

Changed August 05, 2014 06:23PM UTC by Mike Sherov comment:4

resolution: → fixed
status: assignedclosed

Resizable: account for padding & border in grids.

Fixes #10437

Changeset: 7c8790dcc881c8e82390bb5abe31fad35afdaaa0

Changed August 05, 2014 06:23PM UTC by mikesherov comment:5

milestone: none1.11.1