classes defined statically in classList
are missing after reactive overriding
#2341
Labels
enhancement
New feature or request
Milestone
Describe the bug
After changing reactive value,
b-1px
andb-solid
tokens will disappear.This is not critical, because of how CSS works, this kind of expression probably is user's mistake, but behaviour is unexpected. We should better handle this case.
Your Example Website or App
https://playground.solidjs.com/anonymous/ad8fd905-fb6e-45cb-8bdc-95ad0dd309f7
classList probably should not use
node.classList.toggle
directly, or compare individual tokensThe text was updated successfully, but these errors were encountered: