#14919 closed bug (fixed)

Menu: Parent menu item retains active state on click outside of menu

Reported by: test Owned by:
Priority: blocker Milestone: 1.12.0
Component: ui.menu Version: 1.12.0-beta.1
Keywords: regression Cc:
Blocked by: Blocking:

Description

Not sure it is related to https://bugs.jqueryui.com/ticket/10692 or not, but parent menu item does not seem to give up ui-state-active in the following scenario:

Working:

  • Hover over parent menu item (parent menu item gets ui-state-active)
  • Navigate away from menu by clicking somewhere except the menu. Expected behavior: Parent menu item should give up ui-state-active.

Result: works as expected.

Not working:

  • Hover over parent menu item (parent menu item gets ui-state-active)
  • Hover over to a submenu (child of the parent menu item) (parent menu item and child submenu item both get ui-state-active)
  • Navigate away from menu by clicking somewhere except the menu. Expected behavior: Parent menu item should give up ui-state-active.

Result: Parent menu item does not give up ui-state-active. It retains ui-state-active even if some other elements are clicked.

Change History (5)

comment:1 Changed 15 months ago by Scott González

Keywords: regression added
Milestone: none1.12.0
Priority: minorblocker
Status: newopen

comment:2 Changed 15 months ago by Scott González

Summary: Parent menu item does not give up ui-state-active in the following scenario:Menu: Parent menu item does retains active state on click outside of menu

comment:3 Changed 15 months ago by Scott González

Summary: Menu: Parent menu item does retains active state on click outside of menuMenu: Parent menu item retains active state on click outside of menu

comment:4 Changed 15 months ago by Scott González

comment:5 Changed 15 months ago by Scott González

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.