Opened 10 years ago

Closed 7 years ago

#5116 closed bug (wontfix)

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

Change History (3)

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

Milestone: TBD1.8

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

Milestone: 1.9.02.0.0

comment:3 Changed 7 years ago by tj.vantoll

Resolution: wontfix
Status: newclosed

IE6 support is being dropped in 1.10.

Note: See TracTickets for help on using tickets.