Side navigation
#13341 closed bug (worksforme)
Opened January 29, 2013 12:01AM UTC
Closed April 30, 2014 01:14PM UTC
Inconsistent offset given
Reported by: | Dave Stein <be.davestein@gmail.com> | 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.
Attachments (0)
Change History (5)
Changed January 29, 2013 12:03AM UTC by comment:1
Changed January 30, 2013 04:49PM UTC by comment:2
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.
Changed January 30, 2013 05:06PM UTC by comment:3
component: | unfiled → offset |
---|---|
owner: | → 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.
Changed July 08, 2013 09:08AM UTC by comment:4
This works now in recent FF (22).
Changed April 30, 2014 01:14PM UTC by comment:5
resolution: | → worksforme |
---|---|
status: | assigned → closed |
Looks like this was a Firefox bug fixed a while back.
I should also note this is in 1.8.3.