Skip to main content

Search and Top Navigation

#6926 closed bug (fixed)

Opened February 02, 2011 03:04AM UTC

Closed February 02, 2011 07:17PM UTC

Last modified February 02, 2011 07:17PM UTC

Window doesn't change to size that helper shows when snapping to grid

Reported by: echos Owned by: echos
Priority: minor Milestone: 1.8.10
Component: ui.resizable Version: 1.8.9
Keywords: Cc:
Blocked by: Blocking:
Description

When you create a resizable object with the following params the item doesn't conform to the size of the helper and instead sizes the box to where the mouse curser is.

$('.blue').resizable({
	grid: [150, 150],
	helper: 'ui-state-highlight'
});
Attachments (0)
Change History (4)

Changed February 02, 2011 01:36PM UTC by scottgonzalez comment:1

owner: → echos
status: newpending

Pull request: https://github.com/jquery/jquery-ui/pull/105

Requested a more detailed explanation and a demo showing the problem.

Changed February 02, 2011 07:17PM UTC by George Marshall comment:2

resolution: → fixed
status: pendingclosed

Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid

(cherry picked from commit 002f9a2629b906983c0b9edaffa0f7b9b5e457f5)

Changeset: d6fa44a0b4c5bf08f31040f9008e8fb54b36db02

Changed February 02, 2011 07:17PM UTC by George Marshall comment:3

resolution: → fixed
status: pendingclosed

Resizable: Changed the way box size is determined when using a helper. Fixed #6926 - Window doesn't change to size that helper shows when snapping to grid

Changeset: 002f9a2629b906983c0b9edaffa0f7b9b5e457f5

Changed February 02, 2011 07:17PM UTC by scottgonzalez comment:4

milestone: 1.91.8.10