Search and Top Navigation
#3894 closed bug (fixed)
Opened January 20, 2009 09:51PM UTC
Closed January 27, 2009 06:22AM UTC
Last modified January 27, 2009 11:58AM UTC
Resizable/Draggable bug in IE6, IE7
Reported by: | lisbakke | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.7 |
Component: | ui.resizable | Version: | 1.6rc5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you have an absolutely positioned DIV that is resizable/draggable and you scroll down on the page and try to move/resize it, the scroll size in px will be added to the position of the div. Aka, if I scrolled down 100px and tried to resize a div @0px, my div would jump to be anchored at 100px. Here's a repro:
http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3IQCxIJU2F2ZWRDb2RlGLIUDA
Try resizing it in the lower right hand corner, then scroll back up to see that the div has jumped.
Here is one of the lines causing problems with it:
http://ui.jquery.com/bugs/browser/trunk/ui/ui.resizable.js#L276
var sOffset = $.browser.msie && !o.containment && (/absolute/).test(el.css('position')) && !(/relative/).test(el.parent().css('position'));
I put the priority as blocker because it makes resizable/draggable unuseable.