-
-
Notifications
You must be signed in to change notification settings - Fork 119
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] Falsy properties are not discarded #491
Comments
The culprit seems to be the following line: - } else if (val != undefined) {
+ } else if (val) {
|
Thanks for digging into the issue 🙏 As for that fix, I would assume that of the value is zero that will not go through. I might be wrong though. looking forward to your findings. |
Oops, you're right! I will try to come up with another solution… |
@cristianbote I've got it: #492! |
When the
background
property is null or false,background-color
is not stripped from the generated CSS.CodeSandbox demontrating the issue
The text was updated successfully, but these errors were encountered: