Index: third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menubar-behavior-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menubar-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menubar-behavior-extracted.js |
index 0599efac0c473187567c599bcf4f5f58c78a363b..c9012fe81ea906b0f97eb70425fcb8b5ee06c229 100644 |
--- a/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menubar-behavior-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/iron-menu-behavior/iron-menubar-behavior-extracted.js |
@@ -28,20 +28,22 @@ |
return window.getComputedStyle(this)['direction'] === 'rtl'; |
}, |
- _onLeftKey: function() { |
+ _onLeftKey: function(event) { |
if (this._isRTL) { |
this._focusNext(); |
} else { |
this._focusPrevious(); |
} |
+ event.detail.keyboardEvent.preventDefault(); |
}, |
- _onRightKey: function() { |
+ _onRightKey: function(event) { |
if (this._isRTL) { |
this._focusPrevious(); |
} else { |
this._focusNext(); |
} |
+ event.detail.keyboardEvent.preventDefault(); |
}, |
_onKeydown: function(event) { |