Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Change color of active button

In updatemenus, is there any way to change the color of the active button, or maybe set the colors of individual buttons separately so we can use the onClick listener to change color of the clicked button.
The default color when button is active ‘#f4faff’ is too light to be really differenciable on most displays under normal settings.
The reference guide only lists bgcolor and bordercolor as any relatable options, but they are not what I am looking for.

1 Like

by active do you mean ‘hover’ or ‘clicked’?

You could probably import a .css file with a .hover class and link it to that.

I am talking about click. The problem with using css for that is how would I unset the colour of the button that just got “unclicked”