DiamondLightSource / DiamondLightSource/sci-react-ui

Multiple menu items do not open one after the other

Open
#146 0 comments 0 reactions 0 assignees View on GitHub
accepted priority: low v0.4.0
Dominant language
TypeScript
Stars
8
Forks
3
Avg merge
3d 15h
Merged PRs (30d)
5

Description

With multiple NavMenu components you always have to click to close each one, even when there are multiple ones and you are clicking on the next one.

![Image](https://github.com/user-attachments/assets/9c8df1f2-8a5c-4ee5-bc78-365ad64d2536)

There should likely be a "NavMenus" component, to control a group of them.

(Additionally, perhaps the menus should display when you hover over them too, not just click.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.