Bug Tracker

Modify

Ticket #2993 (closed bug: fixed)

Opened 6 years ago

Last modified 2 years ago

.offsetParent() fails on fixed position elements in Opera/IE7

Reported by: scott.gonzalez Owned by: scott.gonzalez
Priority: major Milestone: 1.3
Component: offset Version: 1.2.6
Keywords: Cc:
Blocking: Blocked by:

Description

Calling .offsetParent() on a fixed position element returns the document in Opera and IE 7.

Change History

comment:1 Changed 6 years ago by scott.gonzal

Not sure if this is a valid fix, but changing the return statement to

return jQuery(offsetParent || document.body);

fixes this specific problem.

comment:2 Changed 6 years ago by scott.gonzal

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [5715].

comment:3 Changed 6 years ago by flesler

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 6 years ago by flesler

  • Owner changed from brandon to scott.gonzalez
  • Status changed from reopened to new

comment:5 Changed 6 years ago by flesler

  • Status changed from new to closed
  • Resolution set to fixed

comment:6 Changed 6 years ago by flesler

  • Priority changed from blocker to major

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.