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

Fixed calculation that results in NaN #790

Merged
merged 1 commit into from Jun 16, 2019
Merged

Fixed calculation that results in NaN #790

merged 1 commit into from Jun 16, 2019

Conversation

snoozbuster
Copy link

@snoozbuster snoozbuster commented Jun 5, 2019

I would add a test for this but it seems like this function doesn't already have tests (or at least I was unable to find them). Please advise if they are in fact just hiding somewhere.

Resolves #789.

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

Successfully merging this pull request may close these issues.

getBoundingClientRect results in NaN width/height for elements with 0 clientHeight or clientWidth
2 participants