Skip to content

Custom CSS Variables Values via Component Props don't work with Store Bindings #1023

@Suges

Description

@Suges

Describe the bug

Hi. If you do this:

<Modal --height={$modal.height}px --width={$modal.width}px title={$modal.title}>
 ...
</Modal>

VSCode complains Identifier expected while red-underlining the first dollar sign (in fact, practically all the code underneath gets red-underlined).

Severity
It's not too severe, I can just go back to the old way of doing this. But it's a great new feature! I've been using it everywhere possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions