Skip to content

outerHeight() returning "NaNpx" for SVG elements #4189

@tiagofscoelho

Description

@tiagofscoelho

Description

On Version 3.3.1, outerHeight() is returning "NaNpx" for svg elements. For other elements it is working as expected.

Link to test case

On the code provided below, there are 2 labels where you can click. A console.log is called for each click. When clicking in "Click on SVG" the output is "NaNpx".

https://codepen.io/tiagofscoelho/pen/MPJgbx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions