You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading from 3.1.1 to 3.3.1 i'm having a lot of issues with .top values.
On many places in my web app this property now returns the top value from it's parent.
on 3.1.1 it returned for me (at least in some places) the top value from the top of the page. (nor the parent or the element that i'm testing have any position attributes or anything special).
I can't seem to understand the exact use case in order to create an example, but switching between 3.1.1 and 3.3.1 is definitely returning very different values for me in more than one place...
And the issue is cross browser.
The text was updated successfully, but these errors were encountered:
Ok I am now able to reproduce it.
When the div that i am testing is inside a table, the 'top' value is returned as '1'.
When you remove the table, it is returned from the top of the page.
If you switch to jQuery 3.2.1 it is returned from the top of the page in both cases.
Since upgrading from 3.1.1 to 3.3.1 i'm having a lot of issues with .top values.
On many places in my web app this property now returns the top value from it's parent.
on 3.1.1 it returned for me (at least in some places) the top value from the top of the page. (nor the parent or the element that i'm testing have any position attributes or anything special).
I can't seem to understand the exact use case in order to create an example, but switching between 3.1.1 and 3.3.1 is definitely returning very different values for me in more than one place...
And the issue is cross browser.
The text was updated successfully, but these errors were encountered: