Ticket #8435 (closed bug: fixed)

Opened 2 years ago

Last modified 22 months ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 2 years ago by eromba

I've submitted a pull request with the fix:

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

comment:2 Changed 23 months ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:3 Changed 22 months ago by tj.vantoll

  • Keywords haspatch added
  • Status changed from new to open

comment:4 Changed 22 months ago by Ethan Romba

  • Status changed from open to closed
  • Resolution set to fixed

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

Changeset: 6e0a0553ce85997e4f37597800b440b1e4371b5b

Note: See TracTickets for help on using tickets.