Open nikitarevenco opened 1 week ago
Temporary solution (without disabling rule):
<div className="transition-colors [transition-property:transform]" />
I think that the rule is triggering correctly. It matches the list of property names rather than names and values. If we set, say:
.foo { background: red }
.foo { background: green }
we won’t get both red and green for the background. Only one of the values will ‘win’. In this example it’s green
because the rule comes second. The same applies to transition-property: value
.
You probably want transition-all
or [transition-property:a,b,c]
(your custom list).
Describe the bug
transition-colors
andtransition-transform
get flagged as applying the same propertiesTo Reproduce this code:
Expected behavior The rule should not trigger
Environment (please complete the following information):
Additional context transition-transform:
transition-colors:
So maybe it becomes unhappy because of
transition-timing-function
andtransition-duration
being applied at once