Opened 6 years ago

Last modified 5 years ago

#9390 open bug

Resizable: Containment fails with non-absolute positioned elements before resizable

Reported by: onovy Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

In resizable demo: http://jqueryui.com/resources/demos/resizable/constrain-area.html

is it possble to resize inner element outsite the outer on Y axis, but only few pixels. On X axis is working correctly. I don't think it's bug in demo, but in jQuery UI. Tested on Firefox and Chrome.

Change History (3)

comment:1 Changed 6 years ago by tj.vantoll

Component: ui.selectableui.resizable
Status: newopen
Summary: Resizable with containment is not working correctly in demoResizable: Containment fails with non-absolute positioned elements before resizable

Reduced: http://jsfiddle.net/tj_vantoll/97bLk/. The containment logic seems to be thrown off by non-absolutely positioned elements before it.

This is crazy because apparently this demo has been broken since at least jQuery UI 1.7 and I'm shocked this hasn't been reported before.

comment:2 Changed 6 years ago by tj.vantoll

#9568 is a duplicate of this ticket.

comment:3 Changed 5 years ago by Jörn Zaefferer

Just noticed this as well while going through our demos. It sounds like #4585 might be related.

Note: See TracTickets for help on using tickets.