Skip to main content

Bug Tracker

Side navigation

#5086 closed bug (wontfix)

Opened August 20, 2009 06:18PM UTC

Closed November 19, 2010 01:11AM UTC

Offset Incorrect on overflow when Body display:none onload

Reported by: zachleat Owned by: brandon
Priority: trivial Milestone: 1.4
Component: offset Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

I doubt the use case here is prevalent enough for this to matter, but I thought it would be useful to have logged in the bug tracker for searchability later on.

When the body (or html) is display: none (and then shown later), offset doesn't work correctly when the page overflows in IE7 and IE6.

It works fine for tags other than the body and html, like a normal div.

See the test case, if the page has a scrollbar, scrolling down to the bottom and clicking the second button should yield a different result than the first button.

Attachments (1)
  • jquery-test-case.html (0.7 KB) - added by zachleat August 20, 2009 06:20PM UTC.

    First button shows correct offset, second button shows incorrect offset (if page overflows)

Change History (1)

Changed November 19, 2010 01:11AM UTC by dmethvin comment:1

resolution: → wontfix
status: newclosed

I agree it's a pretty bizarre case.