Skip to main content

Bug Tracker

Side navigation

#11671 closed bug (duplicate)

Opened April 28, 2012 08:16PM UTC

Closed October 18, 2012 10:32PM UTC

.offset() setter handles fixed positioned elements incorrectly in Chrome

Reported by: scottgonzalez Owned by: fracmak2
Priority: low Milestone: 1.next
Component: offset Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

When the window is scrolled, .offset() will incorrectly include the scroll distance when setting the position of fixed positioned elements in Chrome.

http://jsfiddle.net/v59CB/

Attachments (0)
Change History (8)

Changed May 04, 2012 03:32PM UTC by scottgonzalez comment:1

#11699 is a duplicate of this ticket.

Changed May 15, 2012 11:03AM UTC by sindresorhus comment:2

component: unfiledoffset
priority: undecidedlow
status: newopen

Changed October 16, 2012 03:57PM UTC by fracmak2 comment:3

This also affects IE8/9

Changed October 16, 2012 05:17PM UTC by jaubourg comment:4

milestone: None1.next
owner: → fracmak2
status: openassigned

Changed October 16, 2012 08:01PM UTC by jaubourg comment:5

blockedby: → 12749

Changed October 16, 2012 08:22PM UTC by fracmak2 comment:6

This needs to be rechecked when #12749 lands. Should be fixed by it.

Changed October 18, 2012 10:30PM UTC by fracmak2 comment:7

Verified that this is fixed in all browsers now in jQuery.edge

http://jsfiddle.net/fracmak/v59CB/5/

This ticket can now be closed

Changed October 18, 2012 10:32PM UTC by mikesherov comment:8

resolution: → duplicate
status: assignedclosed

Duplicate of #12749.Like a boss, Jay.