Opened 14 years ago

Last modified 11 years ago

#5027 open bug

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.

Change History (5)

comment:1 Changed 14 years ago by Skywalker

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

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

Milestone: TBD1.8

comment:3 Changed 14 years ago by NicBright

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.

comment:4 Changed 11 years ago by Scott González

Milestone: 1.9.02.0.0

comment:5 Changed 11 years ago by tj.vantoll

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/.

Note: See TracTickets for help on using tickets.