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

[BUG] RadioItems / Checklist does not display vertically as documented without stylesheet #2063

Closed
wf-r opened this issue May 23, 2022 · 0 comments · Fixed by #2450
Closed

Comments

@wf-r
Copy link

wf-r commented May 23, 2022

Describe your context
Python 3.8.6, Windows 10

  • replace the result of pip list | grep dash below
dash                      2.4.0
dash-core-components      2.0.0
dash-html-components      2.0.0
dash-table                5.0.0
plotly                    5.8.0
  • if frontend related, tell us your Browser, Version and OS

    • OS: Windows 10
    • Browser Firefox 100.0

Describe the bug

In contrast to the documentation and the minimal examples provided there, the default behaviour of RadioItems and Checklist is a horizontal display of the options (https://dash.plotly.com/dash-core-components/checklist and https://dash.plotly.com/dash-core-components/radioitems describe the vertical display to be the default case). According to https://stackoverflow.com/questions/62137479/plotly-dash-dcc-radioitems-vertical-alignment a vertical behaviour is achieved using the stylesheet, yet the minimal examples given in the documentation do not incorporate this stylesheet.

Additionally, a new switch to change to horizontal behaviour has been added (inline=True). It would be great to either have a corresponding switch for vertical behaviour in case no stylesheet is used, or otherwise at least mention the stylesheet in the documentation.

Expected behavior

Display should follow minimal example code given in documentation.

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

Successfully merging a pull request may close this issue.

1 participant