Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: getOuterSizes returning NaN for virtual elements #711

Merged
merged 1 commit into from Nov 15, 2018

Commits on Nov 13, 2018

  1. fix: getOuterSizes returning NaN for virtual elements

    When the element is not attach at the DOM the `getComputedStyle` returns
    a empty string making the convertion to float `parseFloat(styles.marginTop)`
    return NaN.
    Rodrigo Vieira committed Nov 13, 2018
    Copy the full SHA
    d033710 View commit details
    Browse the repository at this point in the history