Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Custom component state#119

In components you can add states, but this is limited to a few options. Please allow us to set a custom state. Right now I can not use :focus-within, because it’s not a option.

a year ago

I’m fairly certain you can simply append “:focus-within” to the selector of a modifier, .i.e. create a new modifier and set its selector to “:focus-within”. The state creation is simply a convenient shortcut but equivalent to manually spelling out the state as part of the selector

a year ago

Ayla is correct, you can use a modifier, and append :focus-within or anything else to it. It accepts spaces, so you can even target child.

a year ago
Changed the status to
Archived
a year ago