-
Notifications
You must be signed in to change notification settings - Fork 187
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
Bug: Pseudo rules (:after) are incorrectly combined at runtime #231
Comments
I think I have a fix this in #216. Here's the test I added: https://github.com/Khan/aphrodite/pull/216/files#r107288862 Can you confirm whether this resolves the issue for you? |
Yes, that's exactly what happens, |
@lencioni @xymostech Any updates on this? |
Looking forward to it! |
@xymostech Do you have any idea when this might be released? Our large project has a number of bugs as a result of this issue and we're weighing up whether to roll-back, patch all the issues or wait until a new release is available, it'd be good to have an ETA to help our decision-making! Thank you. |
I just merged #233. This should be fixed in the next release. |
I just published v1.2.1. Give it a shot! |
Working great ! You rock |
I think I have found a bug with how
:after
rules are combined. When we combine two styles declaring an:after
rule, the subsequent call tocss()
will merge the styles incorrectly.Minimal example:
Renders:
As you can see, the second call
css(styleSheet.greenSquare, styleSheet.bottom)
incorrectly applies the style fromstylesheet.top
from the previous call.The text was updated successfully, but these errors were encountered: