Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled buttons should be gray by default #8717

jsignell opened this issue Mar 5, 2019 · 1 comment · Fixed by #8722

Disabled buttons should be gray by default #8717

jsignell opened this issue Mar 5, 2019 · 1 comment · Fixed by #8722


Copy link

jsignell commented Mar 5, 2019

ALL software version info (bokeh, python, notebook, OS, browser, any other relevant packages)

Python version      :  3.6.8 |Anaconda, Inc.| (default, Dec 29 2018, 19:04:46) 
IPython version     :  7.1.1
Tornado version     :  5.1.1
Bokeh version       :  1.1.0dev8
BokehJS static path :  /Users/jsignell/conda/envs/panel-dev/lib/python3.6/site-packages/bokeh/server/static
node.js version     :  v7.10.0
npm version         :  4.2.0

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: holoviz/panel#275 where it's been noted that other widget behavior is similar.

Complete, minimal, self-contained example code that reproduces the issue

from import show
from bokeh.layouts import widgetbox
from bokeh.models.widgets import Button

button = Button(label="Foo", disabled=True)


Screenshots or screencasts of the bug in action

screen shot 2019-03-05 at 11 50 37 am

Copy link
Contributor Author

jsignell commented Mar 7, 2019


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

2 participants