Bug Tracker

Opened 11 years ago

Closed 9 years ago

#13341 closed bug (worksforme)

Inconsistent offset given

Reported by: Dave Stein <be.davestein@…> Owned by: mikesherov
Priority: high Milestone: None
Component: offset Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:



IE, Chrome, Safari will factor in the scroll offset of body, even when overflow is hidden.

Firefox will not factor it in. Therefore in my fiddle, the offset().top will be thousands except in Firefox.

Change History (5)

comment:1 Changed 11 years ago by Dave Stein <be.davestein@…>

I should also note this is in 1.8.3.

comment:2 Changed 11 years ago by Dave Stein <be.davestein@…>

And just to point out cause, is that overflow: hidden after you've scrolled reports 0 on FF, but the "correct" value in the other browsers.

comment:3 Changed 11 years ago by mikesherov

Component: unfiledoffset
Owner: set to mikesherov
Priority: undecidedhigh
Status: newassigned

Pretty sure I know what this is. I won't be able to get to it till the weekend. Someone else steal it if they want in the meantime.

comment:4 Changed 10 years ago by anonymous

This works now in recent FF (22).

comment:5 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: assignedclosed

Looks like this was a Firefox bug fixed a while back.

Note: See TracTickets for help on using tickets.