Skip to main content

Search and Top Navigation

#9390 open bug ()

Opened June 20, 2013 09:41PM UTC

Last modified April 24, 2014 11:06AM UTC

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.

Attachments (0)
Change History (3)

Changed June 21, 2013 01:20AM UTC by tj.vantoll comment:1

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.

Changed September 23, 2013 07:49PM UTC by tj.vantoll comment:2

#9568 is a duplicate of this ticket.

Changed April 24, 2014 11:06AM UTC by jzaefferer comment:3

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