SOLVED: CSS variable picker (dropdown) we cannot search for dash ( "-" or "- -" )

In the dropdown picker, where we have the ability to search for a specific CSS variable by typing its name, if we search for that variable using "-" (dash) in the search term, no variable are found and suggested.

Example

I have a CSS Variable named --im--border-radius.

Searching for border lets the dropdwon suggest the variable…

Schermata 2024-07-02 alle 16.59.33

But, as soon as I add -, no results are found

Schermata 2024-07-02 alle 16.59.42

Hi Jacopo,
Thanks so much for your report!

I have created an improvement task for this :v:

Best regards,
timmse

1 Like

Today i noticed that if the search term string begin with var(-- the problem does not occur.
In that case the dropdown will suggest the css variable

Schermata 2024-07-05 alle 20.24.09

We’ve fixed this issue in Bricks 2.0 RC2, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any pre-stable release, please do not use it on a production website. It is intended for testing in a local or staging environment only.