229-multi-level-dropdown icon indicating copy to clipboard operation
229-multi-level-dropdown copied to clipboard

Multiple dropdown menus

Open johnrails opened this issue 3 years ago • 0 comments

This was an excellent tutorial, and I managed to get the drop down working, but I'm trying to get some ideas on how to have multiple drop downs on a single page. Currently if i open one dropdown all dropdowns on the page open up. I'm not sure if i need to go down the rabbit hole of setting state for which menu is open, or do i just created a separate DropDownMenu for each menu i need, or if i'm just missing some minor thing from the tutorial. Any leads would be appreciated.

johnrails avatar May 07 '21 14:05 johnrails