primefaces / primefaces/primereact

MenuBar: support for autoHideDelay, autoHide and autoDisplay like PrimeNG

Open
#5,563 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Discussed in https://github.com/orgs/primefaces/discussions/649

Originally posted by srikanth-nallamothu December 8, 2023
When I mouseover the menu item sub menu is being opened, but when I move diagonally to click on sub menu item, it is highlighting the next menu subitems. Which can be avoided if we have support to autoHideDelay , autoHide and autoDisplay. These props are currently being supported in primeng. Requesting to have support of the same in prime react. If these are already supported please point me with links.

Prime ng: https://primeng.org/menubar#api.menubar.props.autoHideDelay
Primereact: https://primereact.org/menubar/#api.Menubar.props

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PrimeReact Menubar API and compare it with PrimeNG's Menubar API for autoHideDelay, autoHide, and autoDisplay. Inspect the current Menubar implementation and verify the diagonal mouse movement behavior; done means these props are supported and prevent unintended submenu highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.