Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix menu positioning when opened via keyboard. Fixes #17769.
Changes include: - make keydown handler process context-menu key in addition to shift-F10 - (for keyboard) open menu around focused node rather than node matching this.targetNodeIds / this.selector - different approach to avoid repeat contextmenu key event; 1ms delay in _scheduleOpen() was too short; there's about 100ms between the keydown and contextmenu events on IE8
- Loading branch information
Showing
3 changed files
with
87 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters