Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrimeNg p-menubar : Mouseout of a menuitem doesn't close the submenu if opened #16101

Closed
NathanRutilyDev opened this issue Jul 25, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@NathanRutilyDev
Copy link

NathanRutilyDev commented Jul 25, 2024

Describe the bug

Currently, it's closing submenu when mouseout on an other menuitem, but if i quit the submenu from top or down side, without hovering another menuitem, it staying there, the submenu doesn't close itself from mouseout. After this, the only way to close it is to click anywhere.
I searched a workaround but nothing seems to work for now, a bit help please 🙏

Environment

<p-menubar [model]="items" [autoHide]="true" [autoDisplay]="true" [autoHideDelay]="0"> </p-menubar>

Reproducer

No response

Angular version

16.2.0

PrimeNG version

17.18.5

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.14.0

Browser(s)

Chrome 127

Steps to reproduce the behavior

Put a p-menubar, put items with submenus, and do like i do on this gif :
Preview of problem

Expected behavior

Closing the submenu anywhere i go with a mouseout

@NathanRutilyDev NathanRutilyDev added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 25, 2024
@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
2 participants