I have a filter menu defined as below
filter_menu = dbc.DropdownMenu(
id="filter-menu",
label=[
html.Img(src="assets/images/Filter.svg", height=24, width=24, style={"marginRight": "6px"}),
html.Span("Filter"),
],
children=[...],
class_name="filter-menu",
align_end=False,
)
I need to use it’s state (opened/closed) as a callback Input
unfortunately, neither className, class_name or n_clicks reacts when user clicks on the dropdown button
is there any workaround? custom script?