#4632 closed bug (notabug)
Resizable grid not applied to final positioins
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.resizable | Version: | 1.7.2 |
Keywords: | Cc: | [email protected]… | |
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?
Note: See
TracTickets for help on using
tickets.
Use ui.size.width or ui.size.height.
You're probably getting the height of the document...