Commit c262d276 authored by mahmadi's avatar mahmadi Committed by Commit bot

[MD Settings][People] Profile Avatar Selector won't lose focus on pressing esc

BUG=653836
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2428083002
Cr-Commit-Position: refs/heads/master@{#427195}
parent a1391806
...@@ -34,6 +34,15 @@ Polymer({ ...@@ -34,6 +34,15 @@ Polymer({
event.detail.keyboardEvent.preventDefault(); event.detail.keyboardEvent.preventDefault();
}, },
/**
* Handler that is called when the esc key is pressed.
* @param {CustomEvent} event A key combination event.
* @private
*/
_onEscKey: function(event) {
// Override the original behavior by doing nothing.
},
/** /**
* Focuses an item on the same column as the currently focused item and on a * Focuses an item on the same column as the currently focused item and on a
* row below or above the focus row by the given offset. Focus wraps if * row below or above the focus row by the given offset. Focus wraps if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment