Skip to main content

Search and Top Navigation

#3251 closed bug (fixed)

Opened August 25, 2008 02:07AM UTC

Closed January 27, 2009 06:36AM UTC

ui.resizable >> !respecting min height || width

Reported by: recrit@gmail.com Owned by: eduardo
Priority: critical Milestone: 1.7
Component: ui.resizable Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:
Description

min height || width is not respected when the data.height === 0 as calculated from this._change passed from this.mouseDrag

result: box jump the size of min height || width since data.height=0 gets passed through

fix:

(1) add new function to 'this' to detect nothing but allow zero

this._isNothing: function(x) {return x === undefined || x === null},

(2) _respectSize:

isminw = !this._isNothing(data.width) && (o.minWidth && data.width < o.minWidth),

isminh = !this._isNothing(data.height) && (o.minHeight && data.height < o.minHeight);

Attachments (0)
Change History (2)

Changed January 02, 2009 02:44PM UTC by scottgonzalez comment:1

milestone: TBD1.6
priority: minorcritical

Changed January 27, 2009 06:36AM UTC by eduardo comment:2

resolution: → fixed
status: newclosed

Fixed on revision 1805