Closed maxcelima closed 5 years ago
I confirm, something in react-jss or in plugins breaks this, core works as expcted.
Also it turns out to be a regression compared to v8
Turns out we forgot to handle fallbacks in jss-plugin-vendor-prefixer after we decided to kick them out of vendor-prefixer as a jss specific syntax.
Now I wonder if fallbacks should be prefixed at all or left as-is.
Made fallbacks to get prefixed.
Expected behavior: When an array is used for the fallbacks value it should render multiple properties for the same property name
Describe the bug: The array of fallbacks are being render like this:
The jss vendor prefix plugin seems to be changing it into the string
"[object Object], [object Object]"
Codesandbox link: https://codesandbox.io/s/jss-fallbacks-problem-gbvkf
Versions (please complete the following information):