Opened 11 years ago
Closed 9 years ago
#13341 closed bug (worksforme)
Inconsistent offset given
Reported by: | Owned by: | mikesherov | |
---|---|---|---|
Priority: | high | Milestone: | None |
Component: | offset | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
http://jsfiddle.net/davestein/DxLWn/
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
comment:2 Changed 11 years ago by
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
Component: | unfiled → offset |
---|---|
Owner: | set to mikesherov |
Priority: | undecided → high |
Status: | new → assigned |
Version: | 1.9.0 → 1.8.3 |
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:5 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Looks like this was a Firefox bug fixed a while back.
Note: See
TracTickets for help on using
tickets.
I should also note this is in 1.8.3.