You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug - [Menu] - Flyout stays open when hovering a disabled item #12637
Describe the problem
In a
MenuwithcontainsFlyout, a flyout submenu stays open after the pointer moves from the flyout trigger onto a disabled item.Hovering an enabled item without a flyout correctly calls
setFlyoutRef(null). Disabled items never get that hover:isDisabled:.pf-v6-c-menu__list-item.pf-m-disabledhaspointer-events: none, soonMouseOverdoes not fire.isAriaDisabled:MenuItemskipsonMouseOverwhenisAriaDisabledis true, sosetFlyoutRef(null)never runs.How do you reproduce the problem?
containsFlyout.isDisabledorisAriaDisabled) immediately after it.Expected behavior
The flyout closes, same as hovering any other non-flyout item.
Is this issue blocking you?
No, however there is no workaround without avoiding hard-disabled items.
What is your environment?
OS: macOS
Browser: Chrome
Version: PatternFly React 6.6.0
What is your product and what release date are you targeting?
OpenShift Virtualization (kubevirt-plugin)
Any other information?
Seen in
MenuItem.js:onMouseOveron theliis a no-op whenisAriaDisabledis true. CSS:pointer-events: noneon disabled list items.Screen.Recording.2026-09-02.at.1.05.00.PM.mov
Jira Issue: PF-4613