Skip to main content

Search and Top Navigation

#8960 closed bug (duplicate)

Opened January 14, 2013 11:36AM UTC

Closed January 14, 2013 11:34PM UTC

Resizable shrinks a little on start of resize if border-box CSS used

Reported by: stevegrove Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.resizable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

This has been raised several times before and closed as not reproducible - so I have included a JSFiddle ( that shows the problem occurs when you have "box-sizing: border-box;" and its browser specific variants enabled in your CSS.

This was the original bug report I found which in teh comments mentions that the border-box might be the reason:

And a later one concerning the same problem:

Which was rejected due to this fiddle:

So using the above knowledge the following JSFiddle (derived from the above) shows the problem - when you start to resize the div (or whatever) shrinks a fraction which is very annoying and especially so when grid is turned on. The only difference between the fiddles is the extra CSS to turn on the boorder-box and a grid option on the resizable (not necessary for the problem but highlights its impact)

Attachments (0)
Change History (1)

Changed January 14, 2013 11:34PM UTC by tj.vantoll comment:1

resolution: → duplicate
status: newclosed

Duplicate of #8932.Hi stevegrove,

Thanks for taking the time to contribute to the jQuery UI project. I verified and reduced your test case - This is the same issue as #8932 but I'm going to expand that issue to include the

per your test case. Change
and you can see that the example works as expected.