Opened 8 years ago

Last modified 7 years ago

#8044 open bug

Resizable: Bug using helper and containment on an absolutely positioned element

Reported by: alfatek Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:

Description

Sample: http://jsbin.com/ocezic/4

Take the box at the top left corner and make it a little bit bigger vertically. After the resize you can see that the box changes its place which is not supposed to happen...

If no "helper" is defined everything works Ok.

Teste in FF 3.6.25, IE9-Win, and Chrome 16.0.912.75 m

Change History (4)

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

Milestone: 1.9.02.0.0

comment:2 Changed 7 years ago by tj.vantoll

Status: newopen
Summary: Resizable with helper defined changes position of absolute positioned elementResizable: Bug using helper and containment on an absolutely positioned element

Confirmed this is an issue in 1.9.1 and trimmed down the test case - http://jsfiddle.net/tj_vantoll/vmJC2/. It looks to happen when both the helper and containment options are set on an absolutely positioned resizable.

Last edited 7 years ago by tj.vantoll (previous) (diff)

comment:3 Changed 7 years ago by tj.vantoll

#8043 is a duplicate of this ticket.

comment:4 Changed 7 years ago by tj.vantoll

Note that under these circumstances not only does the resizable move the containment handling is also broken, like due to the same problem that is causing the resizable to move.

Last edited 7 years ago by tj.vantoll (previous) (diff)
Note: See TracTickets for help on using tickets.