Skip to main content

Search and Top Navigation

#3815 closed bug (fixed)

Opened January 14, 2009 12:01AM UTC

Closed November 17, 2012 06:30AM UTC

Last modified May 17, 2013 02:19AM UTC

Resizable: absolutely positioned element inside scrollable element is repositioned when resized

Reported by: robmonie Owned by:
Priority: major Milestone: 1.10.0
Component: ui.resizable Version: 1.6rc4
Keywords: haspatch position Cc:
Blocked by: Blocking:
Description

Scenario:

A scrollable container that is scrolled by some number of pixels contains an absolutely positioned element (relative to the scrollable) that is resizable.

Problem:

On resizing of the resizable element, it is moved vertically up by the same number of pixels that the scrollable container is scrolled.

The attached test case has further details

Attachments (1)
Change History (11)

Changed January 15, 2009 02:32AM UTC by scottgonzalez comment:1

milestone: TBD1.6

Changed March 08, 2009 02:33PM UTC by rdworth comment:2

milestone: 1.71.8

Changed May 24, 2011 12:24AM UTC by gnarf comment:3

Any chance someone can fiddle up a non-working version of this one? I haven't had any luck, it seems to work correctly every time for me...

Changed May 24, 2011 02:08AM UTC by k_borchers comment:4

Here is a fiddle of it not working based on the example provided in the zip attachment. Scroll the div down, then resize the resizable and it will jump up the same amount as you scrolled. http://jsfiddle.net/x83Pa/4/

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:5

milestone: 1.9.02.0.0

Changed October 16, 2012 08:46PM UTC by kenjiyamamoto comment:6

Changed November 04, 2012 05:08PM UTC by tj.vantoll comment:7

#3635 is a duplicate of this ticket.

Changed November 04, 2012 05:10PM UTC by tj.vantoll comment:8

keywords: resizable positionhaspatch position
status: newopen
summary: Resizable absolutely positioned element inside scrollable element is repositioned when resizedResizable: absolutely positioned element inside scrollable element is repositioned when resized

Another test case from closed duplicate issue http://jsfiddle.net/tj_vantoll/wLrwt/.

Changed November 17, 2012 06:30AM UTC by Mike Sherov comment:9

resolution: → fixed
status: openclosed

Resizable: use css() instead of position() for absolute placement. Fixes #3815 - Resizable: absolutely positioned element inside scrollable element is repositioned when resized

Changeset: a1b32b59d57c2171af9ba0ed6b35ccde28794e3b

Changed November 17, 2012 06:32AM UTC by mikesherov comment:10

milestone: 2.0.01.10.0

Changed May 17, 2013 02:19AM UTC by tj.vantoll comment:11

#4701 is a duplicate of this ticket.