Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Disabled buttons should be gray by default #8717
ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)
Description of expected behavior and the observed behavior
Disabled buttons should be gray by default so that it is clear that they are disabled. Now it seems that button color gets muted when disabled which is fine unless the button background is white which it is by default.
I first brought up this issue here: pyviz/panel#275 where it's been noted that other widget behavior is similar.
Complete, minimal, self-contained example code that reproduces the issue
from bokeh.io import show from bokeh.layouts import widgetbox from bokeh.models.widgets import Button button = Button(label="Foo", disabled=True) show(widgetbox(button))
Screenshots or screencasts of the bug in action