Bug Tracker

Modify

Ticket #11671 (closed bug: duplicate)

Opened 13 months ago

Last modified 7 months ago

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

Reported by: scott.gonzalez Owned by: fracmak2
Priority: low Milestone: 1.next
Component: offset Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by: #12749

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/

Change History

comment:1 Changed 13 months ago by scott.gonzalez

#11699 is a duplicate of this ticket.

comment:2 Changed 12 months ago by sindresorhus

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to offset

comment:3 Changed 7 months ago by fracmak2

This also affects IE8/9

comment:4 Changed 7 months ago by jaubourg

  • Owner set to fracmak2
  • Status changed from open to assigned
  • Milestone changed from None to 1.next

comment:5 Changed 7 months ago by jaubourg

  • Blocked by 12749 added

comment:6 Changed 7 months ago by fracmak2

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

comment:7 Changed 7 months ago by fracmak2

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

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

This ticket can now be closed

comment:8 Changed 7 months ago by mikesherov

  • Status changed from assigned to closed
  • Resolution set to duplicate

Duplicate of #12749.
Like a boss, Jay.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.