Skip to content

[Bug]: Won't show code completion when class name is variant. #3

@taoqf

Description

@taoqf

To reproduce:

const foo = 'bar';
return <div className={foo}>
<style jsx>{`
.${foo} {
display: flex;
flex-direction: row;
margin: 10px 15px;
}
`}</style>
</div>

Current behavior: (gif or screenshot is better)

Code will not show any suggestion when typing.

Expected behavior:

Environment information:

  • VSCode version:1.74.1
  • vscode-styled-jsx version:2.1.1
  • styled-jsx version:5.1.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions