Skip to content

How to cancel the style of ListboxItem component when it is focused? #3391

Answered by wingkwong
iGmainC asked this question in Help
Discussion options

You must be logged in to vote

you can pass your custom classes to classNames.base. e.g.

classNames={{
    base: "data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"
}}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iGmainC
Comment options

Answer selected by iGmainC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants