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

fix(resize): correct check for overflow in wrapper #5

Merged
merged 1 commit into from
May 9, 2017

Conversation

datchley
Copy link
Owner

@datchley datchley commented May 9, 2017

Was incorrectly checking for overflow using getBoundingClientRect(), which wasn't consistently returning the width of the child element if there was actually overflow in the parent.

Was incorrectly checking for overflow using getBoundingClientRect(), which wasn't consistently returning the width of the child element if there was actually overflow in the parent.
@datchley datchley merged commit cf738ef into master May 9, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.913% when pulling 3bb27a2 on overflow-fix into 24852b2 on master.

@datchley datchley deleted the overflow-fix branch May 10, 2017 15:57
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.

2 participants