Opened 14 years ago
Closed 14 years ago
#4192 closed bug (fixed)
Draggable Containment broken in Chrome
Reported by: | sonofanickel | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.7 |
Component: | ui.draggable | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Containment is broken in Chrome. The existing fix for FF3 and MSIE needs to be applied to Chrome as well.
From these lines in _getParentOffset
if((this.offsetParent[0] == document.body && $.browser.mozilla) //Ugly FF3 fix || (this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == 'html' && $.browser.msie)) //Ugly IE fix po = { top: 0, left: 0 };
Specifying
po = { top: 0, left: 0 };
for Chrome fixes the issue.
Change History (2)
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.6 |
---|---|
Priority: | minor → blocker |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r2073.