Skip to main content

Search and Top Navigation

#9989 closed bug (notabug)

Opened April 21, 2014 02:45PM UTC

Closed April 21, 2014 03:10PM UTC

Last modified April 21, 2014 03:51PM UTC

Resizable - alsoResize works incorectly when resizing using the top edge of the elemtn

Reported by: ivann Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:
Description

Demo project:

http://jsfiddle.net/vehdC/1/

Drag the first (resizable) element using its top edge. Second element will resize down not up.

Attachments (0)
Change History (4)

Changed April 21, 2014 03:10PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

This is as designed; alsoResize only adjusts the dimensions, not positioning.

Changed April 21, 2014 03:12PM UTC by ivann comment:2

Hi Scott,

Thanks a lot for the answer. Why does it change top of the first (resizable) element?

--Ivan

Changed April 21, 2014 03:43PM UTC by scottgonzalez comment:3

Because that element has directional support based on its options. The alsoResize element is not a resizable, it has different behavior.

Changed April 21, 2014 03:51PM UTC by ivann comment:4

Okay. I'll leave a link to my patch here:

https://github.com/chebum/jquery-ui/compare/9989-resizable-alsoresize-works-incorrectly

So that people in need of a different behavior could use it.