Ticket #3251 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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

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

Description

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

comment:1 Changed 6 years ago by scott.gonzalez

  • Priority changed from minor to critical
  • Milestone changed from TBD to 1.6

comment:2 Changed 6 years ago by eduardo

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

Fixed on revision 1805

Note: See TracTickets for help on using tickets.