Skip to main content

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.

Attachments (0)
Change History (4)

Changed July 10, 2012 07:27PM UTC by eromba comment:1

I've submitted a pull request with the fix:

https://github.com/jquery/jquery-ui/pull/695

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:2

milestone: 1.9.02.0.0

Changed October 29, 2012 01:27AM UTC by tj.vantoll comment:3

keywords: → haspatch
status: newopen

Changed November 09, 2012 02:53PM UTC by Ethan Romba comment:4

resolution: → fixed
status: openclosed

Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions

Changeset: 6e0a0553ce85997e4f37597800b440b1e4371b5b