Skip to main content

Search and Top Navigation

#10590 closed bug (fixed)

Opened September 08, 2014 03:51PM UTC

Closed January 28, 2015 03:09AM UTC

Last modified February 09, 2015 05:07PM UTC

Resizable: Issue with grid and resizing in one direction

Reported by: mnadalin Owned by: mikesherov
Priority: minor Milestone: 1.11.3
Component: ui.resizable Version: 1.11.1
Keywords: regression Cc:
Blocked by: Blocking:
Description

See it in action: http://jsfiddle.net/mnadalin/cnpf1gn4/2/

click on any box to place a new div. Works correctly when resizing from east, but when resizing from west is not possibile to obtain the midwidth: 0 or 2 x grid width.

Attachments (0)
Change History (9)

Changed September 08, 2014 08:43PM UTC by tj.vantoll comment:1

owner: → mnadalin
status: newpending

Hi mnadalin,

This appears to be caused by you setting the

grid
option to
[33, 1]
. If I change the
1
to some larger value the problem goes away (see http://jsfiddle.net/tj_vantoll/cpvatbh8/). Can you confirm?

Changed September 09, 2014 12:31PM UTC by mnadalin comment:2

status: pendingnew

Hello,

Not at all.

Testing the code on your link if i place a new resizable div (clicking on any slot in the grid) and try to extend it from the west side it grows on the top and does not take care of the grid width.

I'm looking at the source, it seems that in the w resize some parameters are used in the wrong way. Right?

Changed September 09, 2014 01:05PM UTC by tj.vantoll comment:3

keywords: → regression
status: newopen
summary: W Handle not respecting the minWidth parameterResizable: Issue with grid and resizing in one direction

Ok thanks. I was able to reduce this significantly: http://jsfiddle.net/tj_vantoll/cnpf1gn4/7/. This isn't related to minWidth, but it has something to do with the grid option, and it regressed in 1.11.1.

Changed September 09, 2014 02:06PM UTC by mnadalin comment:4

Seems so, but using 33 as grid width the problem persist because the box can be resized to 1 px width.

Changed November 05, 2014 11:24PM UTC by mikesherov comment:5

owner: mnadalinmikesherov
status: openassigned

Changed January 28, 2015 03:09AM UTC by Mike Sherov comment:6

resolution: → fixed
status: assignedclosed

Resizable: correct width when grid approaches zero

Fixes #10590

Changeset: 9493839f23b6ff71aacb9cb8fe8fde6c8d0ecd61

Changed January 28, 2015 03:10AM UTC by mikesherov comment:7

milestone: none1.12.0

Changed February 09, 2015 05:07PM UTC by Mike Sherov comment:8

Resizable: correct width when grid approaches zero

Fixes #10590

(cherry picked from commit 9493839f23b6ff71aacb9cb8fe8fde6c8d0ecd61)

Changeset: 0a0db09378fb21ef37fa261958d89f7f1a21ba76

Changed February 09, 2015 05:07PM UTC by scottgonzalez comment:9

milestone: 1.12.01.11.3