Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#4632 closed bug (notabug)

Resizable grid not applied to final positioins

Reported by: lindner@… Owned by:
Priority: major Milestone:
Component: ui.resizable Version: 1.7.2
Keywords: Cc: lindner@…
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?

Change History (2)

comment:1 Changed 10 years ago by Jörn Zaefferer

Resolution: invalid
Status: newclosed

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

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

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.