Opened 14 years ago

Closed 14 years ago

#3251 closed bug (fixed)

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

Reported by: [email protected] Owned by: eduardo
Priority: critical Milestone: 1.7
Component: ui.resizable Version: 1.6b
Keywords: Cc:
Blocked by: Blocking:


min height result: box jump the size of min height
width is not respected when the data.height === 0 as calculated from this._change passed from this.mouseDrag
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);

Change History (2)

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.6
Priority: minorcritical

comment:2 Changed 14 years ago by eduardo

Resolution: fixed
Status: newclosed

Fixed on revision 1805

Note: See TracTickets for help on using tickets.