styled-jsx
styled-jsx copied to clipboard
Using spread operator with props and display flex
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Not show webkit flex with spread operator or "&&".
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
- When i use spread operator with simple prop, dont show webkit display: flex;
`
`
2.- But show
.wrapper { display: flex; }
3.- Not with props. `
`
4.- Show:
.wrapper { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }
What is the expected behavior?
Inject with -webkit
Environment (include versions)
- OS: macCatalina latest
- Browser: chrome
- styled-jsx (version): latest
Did this work in previous versions?
I dont know