This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Couldn't access styling of selected option. #1968
Labels
bug
Things that aren't working right in the library.
Describe the bug
I use the
sl-select
withsl-option
. I export the part base of option, to have access to the styling, but I can only style the normal background color and hover color. Of course there is no way to style the selected state, because I can't use further selectors after I used the part api.This gives me the weird behaviour of overriding the select styles.
Is there a workaround or an other way of doing this?
Thanks, folks :)
The text was updated successfully, but these errors were encountered: