:focus-within Pseudo Selector
devmattrick opened this issue · comments
Matthew McCune commented
It'd be awesome if you'd consider adding types for the :focus-within pseudo selector. It appears it is a working draft, but its supported by every major browser excluding Edge.
Thanks!
Matthew McCune commented
Apologies, I didn't realize that styles need to have a CSS property child like:
stylesheet({
base: {
background: "#FFF",
"&:focus-within": {
}
},
}),
Not including a CSS property (as below) results in a type error:
stylesheet({
base: {
"&:focus-within": {
}
},
}),
Sorry!