
Loading…
The `offsetParent` is wrong in the `attached` callback #2193
Owner
notwaldorf
commented
Owner
sorvell
commented
This looks like a Chrome bug to me. I've filed:
Owner
sorvell
commented
After discussing this with some Blink engineers, it looks like fixing the bug will take a non-trivial amount of time. In the meantime, Polymer can use a slightly beefed up version of Polymer.ImportStatus.whenLoaded(cb) to defer calling attached slightly to avoid querying style/layout data too soon.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on Chrome 43.0.2357.134 (Official Build) (64-bit), this code doesn't have an
offsetParent. It works on FF and Safari:https://gist.github.com/notwaldorf/44da856a3debdc8ab289