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(deps): pin react-measure version to avoid regression #343

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

sherwinski
Copy link
Contributor

@sherwinski sherwinski commented Apr 16, 2019

Description

Resolves #341

There appears to be a regression in react-measure v2.2.6 that is causing contentRect.bounds.width and contentRect.bounds.height to return 0 in react-imgix-bg. This causes the <Background> component to render without a background-image property.

This PR will pin the version of react-measure to <2.2.6 in the meantime while we gather more information over at souporserious/react-measure#137

Steps to Test

A comparison of react-measure v2.2.6 versus v2.2.5

@sherwinski sherwinski requested a review from jayeb April 16, 2019 23:22
@sherwinski sherwinski force-pushed the pin-react-measure-vers branch from d923a94 to a5a8eed Compare April 17, 2019 00:04
@sherwinski sherwinski merged commit 3344502 into master Apr 17, 2019
@sherwinski sherwinski deleted the pin-react-measure-vers branch April 17, 2019 17: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.

Background Images no longer displaying in v8.6.0
2 participants