#14919 closed bug (fixed)

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

Reported by: jga8 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 12 months ago by scottgonzalez

  • Keywords regression added
  • Milestone changed from none to 1.12.0
  • Priority changed from minor to blocker
  • Status changed from new to open

comment:2 Changed 12 months ago by scottgonzalez

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

comment:3 Changed 12 months ago by scottgonzalez

  • Summary changed from Menu: Parent menu item does retains active state on click outside of menu to Menu: Parent menu item retains active state on click outside of menu

comment:4 Changed 12 months ago by scottgonzalez

comment:5 Changed 12 months ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.