styled-jsx icon indicating copy to clipboard operation
styled-jsx copied to clipboard

Using spread operator with props and display flex

Open nikosantis opened this issue 5 years ago • 0 comments

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

  1. 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

nikosantis avatar Jul 09 '20 17:07 nikosantis