Hey. i want to use the MultiSelect Component inside a dbc.Offcanvas. But the content of the dropdown is always behind the offcanvas. Is there anything i can do for it?
Best regards!
Hey. i want to use the MultiSelect Component inside a dbc.Offcanvas. But the content of the dropdown is always behind the offcanvas. Is there anything i can do for it?
Best regards!
Try playing with the zIndex property in MultiSelect. It should be higher than what dbc.offcanvas has. I am on phone right now so can’t check the value for offcanvas, but you can start with zIndex=100.
PS: Give dmc.Drawer a try.
Worked perfectly!
Just to tag on here, have spent a bit of time this morning getting dmc.MultiSelect working inside a dmc.Drawer with a high zIndex
styles={"dropdown":{"z-index":"10002"}},
(further edit)
… or (probably better?)
comboboxProps={"withinPortal": False}