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

Error: <rect> attribute width: Expected length, "NaN%". #1416

Closed
folt opened this issue Dec 2, 2020 · 2 comments · Fixed by #1687
Closed

Error: <rect> attribute width: Expected length, "NaN%". #1416

folt opened this issue Dec 2, 2020 · 2 comments · Fixed by #1687

Comments

@folt
Copy link
Contributor

folt commented Dec 2, 2020

In the loadEvent line, the width NaN in the Time tab

Screenshot_20201202_125950
Screenshot_20201202_125928

@folt
Copy link
Contributor Author

folt commented Dec 2, 2020

(100.0 * width) / (100.0 - getLeft(stat))

This line is divided by 0.
I suspect this is not good.

@tim-schilling
Copy link
Contributor

We should review the JS and protect against all divisors (getLeft and getCSSWidth) possibly being set to zero. They should return zero in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants