Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9989 closed bug (notabug)

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.

Change History (4)

comment:1 Changed 5 years ago by Scott González

Resolution: notabug
Status: newclosed

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

comment:2 Changed 5 years ago by ivann

Hi Scott,

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

--Ivan

comment:3 Changed 5 years ago by Scott González

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

comment:4 Changed 5 years ago by ivann

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.

Note: See TracTickets for help on using tickets.