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 an issue with orphaned pseudos having their selector doubled for descendant at-rules #2003

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

Andarist
Copy link
Member

@Andarist Andarist commented Sep 7, 2020

fixes #2002

@changeset-bot
Copy link

changeset-bot bot commented Sep 7, 2020

🦋 Changeset is good to go

Latest commit: ce37c92

We got this.

This PR includes changesets to release 5 packages
Name Type
@emotion/cache Patch
@emotion/css Patch
@emotion/react Patch
@emotion/jest Patch
@emotion/server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

'@emotion/cache': patch
---

Fixed an issue with orphaned pseudo selectors (e.g. `:hover` - where `&:hover`, `div:hover`, etc are not considered orphaned) having the context selector (the one computed based on all ancestor levels selectors) doubled in a descendant at-rule.
Copy link
Member Author

Choose a reason for hiding this comment

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

quite a mouthful, but not sure how to describe it better and more precise

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ce37c92:

Sandbox Source
Emotion Configuration
Emotion 10 pseudo media-query Issue #2002
Emotion 11 pseudo media-query issue Issue #2002

@Andarist Andarist merged commit dfe9802 into next Sep 8, 2020
@Andarist Andarist deleted the fix/compat-plugin branch September 8, 2020 11:05
@github-actions github-actions bot mentioned this pull request Sep 8, 2020
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