Closed pupitetris closed 1 month ago
@pupitetris This is not a bug. If you are using the inline style prop, the selector needs to be camelCase, for example:
style={"marginRight": 24}
rather than
style={"margin-right": 24}
@AnnMarieW thanks. I cleaned up the code, there were a bunch of stylesheet properties with the wrong notation as you signaled and now the errors are gone. I thought it was a problem with the dev tools because the errors only appeared when I activate the dev tools. Is there a reason why this would be the case?
When running my dash app with
DASH_DEBUG=true
, the Dev Tools appear alright, but I get the following warnings at the console, which don't appear when I deactivate the Dev Tools: