-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
Describe the bug
I'm not sure if this is related to #13171 or not, but class:/style: directives can be overridden by class/style attributes, which they shouldn't - the directives always take precedent. It happens if the class:/style: directive doesn't update/rerun while the corresponding class/style attribute does update.
The solution is probably to ensure that the directives are always in the same template effect as the corresponding attributes so that they rerun. Alternatively there's some hidden property on the DOM elements that tells them what other classes should be on there at that point.
Reproduction
Logs
No response
System Info
irrelevantSeverity
blocking an upgrade