Describe the problem
In a Menu with containsFlyout, 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-disabled has pointer-events: none, so onMouseOver does not fire.
isAriaDisabled: MenuItem skips onMouseOver when isAriaDisabled is true, so setFlyoutRef(null) never runs.
How do you reproduce the problem?
Open a Menu with containsFlyout.
Include a flyout item, then a disabled item (isDisabled or isAriaDisabled) immediately after it.
Hover the flyout item until the submenu opens.
Move the pointer onto the disabled item.
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?
What is your product and what release date are you targeting?
OpenShift Virtualization (kubevirt-plugin)
Any other information?
Seen in MenuItem.js: onMouseOver on the li is a no-op when isAriaDisabled is true. CSS: pointer-events: none on disabled list items.
Screen.Recording.2026-09-02.at.1.05.00.PM.mov
Jira Issue: PF-4613
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