Changes between Initial Version and Version 1 of Ticket #16300


Ignore:
Timestamp:
Nov 7, 2012, 9:00:00 AM (8 years ago)
Author:
bill
Comment:

Hmm, yes, Menu (and anything derived from _KeyNavContainer) is not designed to get focus programatically.

Originally the container has a tabIndex, and when it receives focus via the tab key, it immediately shifts focus to it's first child, and sets it's own tabIndex to -1 (or removes it's tab index). This is what _onContainerFocus() does.

But in this case _onContainerFocus() isn't called, so the shift-tab moves from the File MenuItem to the container itself.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16300

    • Property Status changed from new to assigned
    • Property Milestone changed from tbd to 1.9
    • Property Summary changed from move focus to menubar with keyboard, and focus does not move in some case to MenuBar: tabIndex problems after focusing programatically
  • Ticket #16300 – Description

    initial v1  
    22
    332: add method below to move focus to menubar with CTRL+M
     4
     5{{{
    46       function addListenerToDoc(event){
    57                if(event.ctrlKey && event.charCode == 109){//Ctrl+M
     
    1517                }
    1618        }
     19}}}
     20
    17213: call the method in addOnLoad
    1822