You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously (v2) when @applying a class and then explicitly added a property that was shared by the applied class the later property would win. In v3 the applied classes always seem to be added after the component definition.
See in the linked playground in v2 the "fails" class is blue vs v3 where it's red. This feels like it's a bad behavior but i don't know if it's intentional or expected.
The text was updated successfully, but these errors were encountered:
Previously (v2) when @applying a class and then explicitly added a property that was shared by the applied class the later property would win. In v3 the applied classes always seem to be added after the component definition.
See in the linked playground in v2 the "fails" class is blue vs v3 where it's red. This feels like it's a bad behavior but i don't know if it's intentional or expected.
I am almost sure this was working in a previous iteration of v3. This may have been broken by recent changes to how the rules are parsed, as this is probably not intended behavior since JS object key order is ensured among non-numeric keys.
A curious one, though.
What version of Tailwind CSS are you using?
v3.0.14
Reproduction URL
https://play.tailwindcss.com/mPg4EIVZLy?file=config
Describe your issue
Previously (v2) when
@apply
ing a class and then explicitly added a property that was shared by the applied class the later property would win. In v3 the applied classes always seem to be added after the component definition.See in the linked playground in v2 the "fails" class is blue vs v3 where it's red. This feels like it's a bad behavior but i don't know if it's intentional or expected.
The text was updated successfully, but these errors were encountered: