outerHeight() returning “NaNpx” for SVG elements

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

Author: Fantashit

1 thought on “outerHeight() returning “NaNpx” for SVG elements

Comments are closed.