Side navigation
#12159 closed bug (duplicate)
Opened July 30, 2012 08:51AM UTC
Closed August 16, 2012 12:35PM UTC
1.8rc1: outerHeight() returns object
Reported by: | alec | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm currently unable to reproduce this with a fiddle, but after update to 1.8rc1 all my popups are positioned wrong. It looks that outerHeight() returns object in some circumstances.
Attachments (0)
Change History (6)
Changed July 30, 2012 12:40PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed August 10, 2012 03:32AM UTC by comment:2
We experienced the same issue (outerHeight returning an object) when we run jquery-1.8.0 with jquery-ui-1.8.16
After upgrading to jquery-ui-1.8.22, the issue seems to have been resolved.
Changed August 10, 2012 03:33AM UTC by comment:3
Good to know, since that is the version compatible with jQuery core 1.8. Thanks!
Changed August 16, 2012 05:41AM UTC by comment:4
In my case, it's caused, simply by calling...
.outerHeight(1)
...using "1" instead of "true"...that works in < 1.8, returns an Object in 1.8
jQuery UI is NOT necessary to cause this.
Please see...
http://blog.jquery.com/2012/08/09/jquery-1-8-released/comment-page-2/#comment-532620
http://blog.jquery.com/2012/08/09/jquery-1-8-released/comment-page-2/#comment-532629
...I think outerHeight should be change/reverted to accept 1/0 in addition to true/false.
Changed August 16, 2012 12:35PM UTC by comment:5
resolution: | invalid |
---|---|
status: | closed → reopened |
Most likely some plugin is duck-punching outerHeight incorrectly. In 1.8, outerHeight can be used as a setter and it would return the jQuery object it was passed.
If you identify that the problem is in a plugin, please let us know which one. However, it is not a bug in jQuery itself.