| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| index 87aea0970518a29e0788ea851c7afbbffb9b50fd..5424dec0c505a37969205969d6438439d0e40187 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| @@ -428,6 +428,11 @@ DesktopAutomationHandler.prototype = {
|
| * @param {!AutomationEvent} evt
|
| */
|
| onSelection: function(evt) {
|
| + // Invalidate any previous editable text handler state since some nodes,
|
| + // like menuitems, can receive selection while focus remains on an editable
|
| + // leading to braille output routing to the editable.
|
| + this.textEditHandler_ = null;
|
| +
|
| chrome.automation.getFocus(function(focus) {
|
| // Desktop tabs get "selection" when there's a focused webview during tab
|
| // switching.
|
|
|