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
outerWidth of svg yields NaNpx. Previously yielded a number. #3964
Comments
Hmm, interesting. SVG elements don't have |
@gibson042 , I appreciate the offer, but I'll pass this round. Thanks! |
@gibson042 I'd like to give this a shot, could it be assigned to me? |
@jonathanv3232 GitHub doesn't allow to assign issues to people without commit access to the repo so we can't set you but feel free to take a shot at a PR! |
Submitted PR for the fix. |
Description
On v3.3.1,
outerWidth()
of ansvg
yieldsNaNpx
.I expected a number. Prior versions (e.g., v3.2.1) yielded a number.
Issue reproduces on each OS/browser combo I tried: Mac/{Chrome, Firefox, Safari} and Windows/{Edge, Firefox, Chrome}.
Link to test case
v3.3.1: https://jsfiddle.net/u9pk0gdq/1/ (yields
NaNpx
)v3.2.1: https://jsfiddle.net/378suvLg/ (yields a number)
The text was updated successfully, but these errors were encountered: