Skip to content
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

10.0.0-rc3 does not set 0 style values #1926

Closed
cloudkite opened this issue Sep 11, 2019 · 1 comment · Fixed by #1927
Closed

10.0.0-rc3 does not set 0 style values #1926

cloudkite opened this issue Sep 11, 2019 · 1 comment · Fixed by #1927

Comments

@cloudkite
Copy link

cloudkite commented Sep 11, 2019

I believe this was introduced in this change #1853
Setting unitless styles values to 0 for example style={{opacity: 0}} is broken since 0 is falsy therefore will be set to null

@louismerlin
Copy link

I've got the same problem !

As a temporary fix I've replaced 0 by '0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants