Skip to main content

Search and Top Navigation

#9611 closed bug (fixed)

Opened October 21, 2013 09:47AM UTC

Closed January 15, 2014 09:38AM UTC

Last modified January 15, 2014 09:40AM UTC

Resizable: can be moved when grid option is set

Reported by: bannmann Owned by: k_borchers
Priority: minor Milestone: 1.10.4
Component: ui.resizable Version: 1.10.0
Keywords: regression Cc:
Blocked by: Blocking:
Description

When using resizable() without using draggable(), I would expect that it is impossible for the user to make the widget move.

However, when using the grid option, this is no longer the case. As my demo jsfiddle demonstrates, you can make the gadget move by dragging the west handle all the way to the right or the north handle down.

Note that this does not happen for every grid size (in the example, 50 is broken but 80 is fine), and never happens for the east or south handles.

My production system uses jqUI 1.10.3 with jQuery 2.0.3, the jsFiddle uses the same jqUI version with jQuery 1.9.1 because that was the version used on the jqueryui.com resizable() demo page.

Attachments (0)
Change History (6)

Changed October 21, 2013 12:37PM UTC by tj.vantoll comment:1

status: newopen
summary: Resizable can be moved when grid option is setResizable: can be moved when grid option is set
version: 1.10.31.10.0

Confirmed. This regressed in 1.10.0, likely due to this commit https://github.com/jquery/jquery-ui/commit/6e0a0553ce85997e4f37597800b440b1e4371b5b.

Changed October 21, 2013 12:41PM UTC by scottgonzalez comment:2

keywords: → regression

Changed November 09, 2013 04:48AM UTC by k_borchers comment:3

owner: → k_borchers
status: openassigned

Changed January 15, 2014 09:38AM UTC by Kris Borchers comment:4

resolution: → fixed
status: assignedclosed

Resizable: Only resize/reposition if size is greater than specified grid

Fixes #9611

Closes gh-1132

Changeset: 20c1648f68660b267eec302d43a7b1014cda6e1a

Changed January 15, 2014 09:39AM UTC by Kris Borchers comment:5

Resizable: Only resize/reposition if size is greater than specified grid

Fixes #9611

Closes gh-1132

(cherry picked from commit 20c1648f68660b267eec302d43a7b1014cda6e1a)

Changeset: 20b44cc9bf023bd711b80117b4f185a62301bf52

Changed January 15, 2014 09:40AM UTC by scottgonzalez comment:6

milestone: none1.10.4