Skip to main content

Search and Top Navigation

#3074 closed bug (fixed)

Opened July 08, 2008 10:36AM UTC

Closed July 09, 2008 12:32AM UTC

Last modified July 09, 2008 05:33PM UTC

Resizable jumps when in scrolled container.

Reported by: wundbread@gmail.com Owned by: eduardo
Priority: minor Milestone: 1.5.2
Component: ui.resizable Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Description

When a resizable is in a containment div which has been scrolled down or right, the resizable jumps to the top of the containment.

I was able to get around this simply by adding the scrollTop() and scrollLeft() of the containment to the css of the resizable in a custom resize function like this:

function(e,ui){

var c = ui.options.containment;

$(this).css({top: ui.position.top + c.scrollTop() + "px", left: ui.position.left + c.scrollLeft() + "px",

width: ui.size.width + "px", height: ui.size.height + "px"});

}

Attachments (1)
Change History (2)

Changed July 09, 2008 12:32AM UTC by eduardo comment:1

resolution: → fixed
status: newclosed

Changed July 09, 2008 05:33PM UTC by paul comment:2

milestone: → 1.5.2