NASA-AMMOS / NASA-AMMOS/plandev-ui
Enforce only one active context menu at a time
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 42
- Forks
- 14
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 10
Description
Right now, clicking anywhere on the body will close any active context menus, but right clicking to open a new context menu will not trigger this behavior, allowing for several context menus to stack up/overlap. We should look into refactoring the context menu component to enforce only allowing one to be open at a time.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the context menu component and reproduce the issue by right-clicking in multiple places while a menu is open. Trace how body clicks close menus, then verify that opening a new context menu closes the existing one so only one remains visible.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100