Opened 7 years ago

Closed 7 years ago

#16265 closed defect (fixed)

Menu: does not set dijitMenuFocused

Reported by: Douglas Hays Owned by: bill
Priority: undecided Milestone: 1.9
Component: Dijit Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking: #16262

Description

When a menu is focused, _onFocus is called but no CSS class like dijitFocused or dijitMenuFocused is set on the Menu node. dijitMenuPassive stays there until a child is clicked. This will prevent custom styling that would be needed for functions like underlining access key letters.

Change History (3)

comment:1 Changed 7 years ago by Douglas Hays

Blocking: 16262 added

comment:2 Changed 7 years ago by bill

Milestone: tbd1.9
Status: newassigned

Well, you can still do the underlining, it just can't change based on whether or not the menu is focused. But I'll fix anyway, it's just a question of mixing in _CssStateMixin.

comment:3 Changed 7 years ago by bill

Resolution: fixed
Status: assignedclosed

In [29897]:

Make !Menu and MenuBar extend _CssStateMixin so the get dijitMenuFocused etc. CSS classes, fixes #16265 !strict.

Note: See TracTickets for help on using tickets.