Search and Top Navigation
#5116 closed bug (wontfix)
Opened January 31, 2010 09:03PM UTC
Closed October 24, 2012 01:21PM UTC
resizing div makes another div jump in ie6
Reported by: | sirwitti | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.8rc1 |
Keywords: | resizable ie6 jump | Cc: | |
Blocked by: | Blocking: |
Description
when there are to absolute positioned divs together filling up the complete width and the left div is a resizable, resizing it causes the other div to jump left about 16px during resizing and then jump back.
after some debugging i found the place: in the method _renderProxy there is some special handling for ie6, changing offsets.
by commenting out this extra case for ie6 it works as its supposed to be.
but that code is there for a reason, which i don´t know (since it´s the first time i am debugging jquery).
var d = c.browser.msie && c.browser.version < 7, f = (d ? 1 : 0), g = (d ? 2 : -1); this.helper.addClass(this._helper).css({ width: this.element.outerWidth() + g, height: this.element.outerHeight() + g, position: "absolute", left: this.elementOffset.left - f + "px", top: this.elementOffset.top - f + "px", zIndex: ++h.zIndex }); this.helper.appendTo("body").disableSelection()
perhaps some of you guys knows why there are special offsets for ie6...
thanks, martin