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

[Chore] Downgrade @emotion packages to 10.0.10 or nearest lesser version #136

Merged
merged 2 commits into from
Jul 18, 2019

Conversation

michaeljaltamirano
Copy link
Contributor

@michaeljaltamirano michaeljaltamirano commented Jul 17, 2019

There is a regression from @emotion/core 10.0.10 to 10.0.14 that is breaking styling in some circumstances where Component A renders a static property of Component B, which we'll call Component C, since it is a styled.div. When Component A passes a css prop to Component C and there are conflicting styles, the precedence of the css prop is overwritten by the style defined in the styled.div. This is a change from existing behavior.

I have not been able to reproduce it on codesandbox, and have spent much time trying to find the root cause, examining the difference @emotion packages, but to no avail. In the meantime this PR will downgrade the packages in a uniform fashion until there is resolution.

Note: @emotion's SemVer got a little out of whack until 10.0.14, with more uniformed CHANGELOGs and specified ^10.0.14 peerDependencies for the packages, hence the bump down to 10.0.10 specifically. In most cases there are either no, or just one or two, versions between 10.0.10 and 10.0.14.

Copy link
Contributor

@jcmustin jcmustin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for looking into this so thoroughly!

Copy link
Contributor

@daigof daigof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@michaeljaltamirano michaeljaltamirano merged commit 5d52cfe into master Jul 18, 2019
@michaeljaltamirano michaeljaltamirano deleted the chore/downgrade-emotion branch July 18, 2019 18:30
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.

4 participants