SOLVED: Variable picker missing on some fields

Browser: Safari
OS: macOS

It seems that the new Variable selector icon is missing in a few areas.

  1. The Interactions > Start Animation action text boxes, specifically Animation Delay and Animation Length are both missing the variable selector option.

  2. The Container gap column & row boxes are missing the selector options. Specifically Grid Template Columns, Grid Template Rows, and Grid Auto Rows are missing the variable selector options.

I’m assuming there may be more and will post more if I find them. Anyone else who finds more please add them to this topic.

1 Like

Hi Dustin,
Thanks so much for your suggestions for improvement!

Currently, the variable picker shows for (most of the) number fields, but I agree that adding it to the mentioned fields makes sense, too.

Let me know if you find more fields where it makes sense :slight_smile:

Best regards,
timmse

1 Like

Here is another one too I found today: Overflow and Pointer events. Admittedly the pointer events and overflow are unlikely to be used with variables, but it’d still be good to have for consistency sake.

Essentially anything that’s a text input in my opinion should have the variable selector icon.

Hey Dustin,
I don’t see any reason to use a variable for these fields since you will probably never change the variable value globally in this case.

A variable like --visibility-hidden: hidden will always have the value hidden instead of visible, just like a variable --pointer-events-none: none will always have the value none instead of auto.

Even if you want to override the variable locally for the element, --visibility-hidden: visible would be quite confusing, wouldn’t it?

I tend to agree and that’s specifically why I stated that these would unlikely be used by a variable. But I guess in my opinion, I would generally see anything that is a text input field as something that should be open to variable usage which is why I wanted to include those as perhaps missed opportunities too.

But as long as the first few I mentioned in my original post are added then I think it’s all good. :slight_smile:

Dev version sneak peak:

:wink:

5 Likes

Hi Dustin,
We’ve added the picker to the mentioned locations in Bricks 1.9.8, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.9.8 Changelog – Bricks

Please let us know if there are still places where the picker makes sense.

Best regards,
timmse

1 Like