Skip to main content

Search and Top Navigation

#4632 closed bug (notabug)

Opened June 24, 2009 12:20PM UTC

Closed July 09, 2009 02:22PM UTC

Last modified October 11, 2012 09:15PM UTC

Resizable grid not applied to final positioins

Reported by: lindner@visionet.de Owned by:
Priority: major Milestone:
Component: ui.resizable Version: 1.7.2
Keywords: Cc: lindner@visionet.de
Blocked by: Blocking:
Description

$div.resizable({

grid: [10, 10],

resize: function(event, ui) {

alert($(ui.size).attr('height'));

}

});

The resizable helper (the visible response to resizing operation) is correctly siozed according to the grid but the final position that is propageted to the resize event is not a multiple of the grid spacing.

Is this intended?

Attachments (0)
Change History (2)

Changed July 09, 2009 02:22PM UTC by jzaefferer comment:1

resolution: → invalid
status: newclosed

Use ui.size.width or ui.size.height.

You're probably getting the height of the document...

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted