Modify ↓
Ticket #2993 (closed bug: fixed)
.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:2 Changed 5 years ago by scott.gonzal
- Status changed from new to closed
- Resolution set to fixed
Fixed in [5715].
comment:3 Changed 5 years ago by flesler
- Status changed from closed to reopened
- Resolution fixed deleted
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Not sure if this is a valid fix, but changing the return statement to
fixes this specific problem.