facultyai / dash-bootstrap-components

Bootstrap components for Plotly Dash
https://dash-bootstrap-components.opensource.faculty.ai/
Apache License 2.0
1.11k stars 219 forks source link

Color link dosen't work with dbc.dropdownMenu #879

Closed vokiatik closed 2 years ago

vokiatik commented 2 years ago

Color='link' doesn't work with dbc dropdownMenu when group = True when inside buttongroup inside offcanvas (don't know if it does matter)

What should be happening?

it should work

Code

dbc.DropdownMenu([
    dbc.DropdownMenuItem("item1", href="#",
    dbc.DropdownMenuItem("item2", href="#"),
    ],
    label="label",
    color="link",
    group=True
),
vokiatik commented 2 years ago

Editional info:

code: https://pastebin.com/gXw6yeRT

SCREENSHOT

tcbegley commented 2 years ago

Thanks for reporting @vokiatik, and apologies for the slow response.

I've just released version 1.2.1 which should fix this.

pip install -U dash-bootstrap-components