react-component / react-component/trigger
Is there an option to have sub-menus not auto-close?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 391
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
When the mouse leaves the sub-menu (e.g. by accident) the sub-menu automatically closes. Is there a way to prevent this?
I've seen that I can add a subMenuCloseDelay, but if I increase this then when the user switches between submenus, the previous submenu doesn't close.
Effectively I only want submenus to close when you choose a different submenu. Is this possible?
Contributor guide
No contributing guide indexed for this repository
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 reviewing the trigger component's submenu close handling and the existing subMenuCloseDelay behavior. Determine whether submenu changes can close the previous submenu while pointer exit leaves the current submenu open; done means this behavior is available without breaking switching between submenus. No files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100