Search and Top Navigation
#8435 closed bug (fixed)
Opened July 10, 2012 06:05PM UTC
Closed November 09, 2012 02:53PM UTC
Resizable: grid does not respect min/max dimensions
Reported by: | eromba | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.8.21 |
Keywords: | haspatch | Cc: | |
Blocked by: | Blocking: |
Description
Setting both the "grid" option and min/max dimensions on a resizable element can result in the min/max dimensions not being respected. This occurs when the min/max dimensions are close to the next-smallest/largest grid size, respectively.
Here is a test case: http://jsbin.com/igulat/#html
I've confirmed this bug in Firefox 13.0.1, Chrome 19.0.1084.56, and IE 9 on Windows 7.
I've submitted a pull request with the fix:
https://github.com/jquery/jquery-ui/pull/695