Only allow one group's submenu to be expanded at a time
Replace the per-GroupListItem state indicating whether the item's submenu is open with a per-GroupList state variable indicating which group (or none) has its submenu currently expanded.
Showing
Please register or sign in to comment