Side navigation
#6539 closed bug (patchwelcome)
Opened May 06, 2010 11:54PM UTC
Closed November 20, 2010 09:36PM UTC
.offset() uses scroll offset of current document, not of the element's current context
Reported by: | jsuwala | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | |
Component: | core | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using $('#elId', opener.document).offset(); in a popup window (to get the height of an element in the opening document), the .top value returned uses the .scrollTop of the popup, and not of the opener.
Attachments (1)
Change History (2)
Changed November 12, 2010 02:40AM UTC by comment:1
milestone: | 1.4.3 |
---|
Changed November 20, 2010 09:36PM UTC by comment:2
priority: | → undecided |
---|---|
resolution: | → patchwelcome |
status: | new → closed |
We’re not going to fix this ourselves since it is a very unlikely scenario, but we would be happy to consider a patch.
Resetting milestone to future.