[Bug] Widget style
prop does not apply styles for camel cased style keys
#8990
Labels
style
prop does not apply styles for camel cased style keys
#8990
Description
When I pass a
style
object to widgets, styles for camel cased attributes (borderColor
,zIndex
, etc) aren't applied. Setting styles with dash cased keys does work but that violates theCSSStyleDeclaration
type.Flavors
Expected Behavior
I expect to see all style applied to the widget while still complying with the typings
Steps to Reproduce
Here is a link to a branch of a repo that can be used to reproduce this issue: https://github.com/TylerMatteo/react-deck-boilerplate/tree/widget-dashcase-style-bug
To reproduce:
widget-dashcase-style-bug
branchnpm install
npm run dev
ZoomWidget
in/src/App.tsx
aren't applied.Environment
Logs
N/A
The text was updated successfully, but these errors were encountered: