Search and Top Navigation
#11135 closed bug (duplicate)
Opened February 19, 2015 09:09AM UTC
Closed February 19, 2015 12:52PM UTC
resizable() miscalculates size of containers with box-sizing:border-box
Reported by: | ilanc | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.resizable | Version: | 1.11.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Overview:
If you apply .resizeable() to an element which has border-box sizing and this element has a border then the container will "shrink" by this border size immediately as the resizing drag begins.
Fiddle
http://jsfiddle.net/ilancopelyn/jxpkdx0j/1/
Browsers
Tested in Chrome, FF, IE 11
Fix
I have a fix locally - will look into posting a pull request
Pull request
https://github.com/jquery/jquery-ui/pull/1451