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

Consider earlier variants before sorting functions #10288

Merged
merged 2 commits into from Jan 10, 2023

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Jan 10, 2023

We were sorting based on functions unconditionally before. This would result in problems with utilities using stacked variants where some of them used sorting functions. The output would end up entirely based on the result of the sorting functions instead of the order of the variants as a whole. We now effectively sort on a per-variant basis while still considering sort functions for variants that use them.

Fixes #10267

thecrypticace and others added 2 commits January 10, 2023 09:49
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
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.

Order of CSS selectors is not correct with v3.2.x in specific scenarios
1 participant