Opened 11 years ago
Closed 9 years ago
#14508 closed task (fixed)
PopupMenuItem: handle opening drop down
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | low | Milestone: | 1.9 |
Component: | Dijit | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Move code to open submenus from _MenuBase into PopupMenuItem, removing the dependency from _MenuBase --> dijit/popup.
Also, make PopupMenuItem extend _HasDropDown rather than calling dijit/popup directly.
Continues on the refactoring from #12816.
Change History (3)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
Milestone: | future → 1.9 |
---|---|
Owner: | set to bill |
Priority: | high → low |
Status: | new → assigned |
Summary: | PopupMenuItem: extend _HasDropDown → PopupMenuItem: handle opening drop down |
Note: See
TracTickets for help on using
tickets.
Given the complexities of menus, like how hovering MenuBar choice "B" will automatically close the drop down for MenuBar choice "A", it's probably not realistic for PopupMenuItem to extend _HasDropDown. Still, the dijit/popup dependency could be moved from _MenuBase to PopupMenuItem. _MenuBase can still open and close the popups, but indirectly, via an API exposed through PopupMenuItem.
I'm working on Menu now so I'll likely do this for 1.9.