Skip to main content

Search and Top Navigation

#5027 open bug ()

Opened December 29, 2009 10:16PM UTC

Last modified October 30, 2012 01:43AM UTC

Resizable: The animate option breaks the grid option

Reported by: Skywalker Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.7.2
Keywords: grid, snap, mouse, drag Cc:
Blocked by: Blocking:
Description

If you drag the resizable helper, quickly move the mouse and then drop the helper, it is possible to break the grid.

Attachments (0)
Change History (5)

Changed December 29, 2009 10:19PM UTC by Skywalker comment:1

I forgot to say, that this happens only if i have animate set to true.

Changed December 30, 2009 12:48AM UTC by scottgonzalez comment:2

milestone: TBD1.8

Changed February 13, 2010 01:48PM UTC by NicBright comment:3

I stumbled upon this issue as well.

But I don't have to move the mouse around quickly.

With a large grid (try one of >100 to see this issue at the first glance) and a helper assigned the grid works well in the preview.

But as soon as I release the mouse button the resizable will get resized nearly exactly to the position

of the mouse cursor at this time thus destroying the grid.

This behaviour was tested by me and is reproducible in Firefox 3.0.17, Firefox 3.6 and IE7;

Therefore i believe it will be reproducible in other browsers as well.

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:4

milestone: 1.9.02.0.0

Changed October 30, 2012 01:43AM UTC by tj.vantoll comment:5

status: newopen
summary: ui.resizable doesnt snap to gridResizable: The animate option breaks the grid option

Confirmed and this is still a problem in 1.9.1 - http://jsfiddle.net/tj_vantoll/CbngU/.