Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js

Issue 2096903002: Revert of [Polymer] update polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
index cbdb805238762cbacbb8a05b4f6d149961780360..cc448524a6380885128e25a0f8ed0403c8ef8fdd 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
@@ -430,10 +430,13 @@
* Forward focus to inputElement. Overriden from IronControlState.
*/
_focusBlurHandler: function(event) {
+ if (this._shiftTabPressed)
+ return;
+
Polymer.IronControlState._focusBlurHandler.call(this, event);
// Forward the focus to the nested input.
- if (this.focused && !this._shiftTabPressed)
+ if (this.focused)
this._focusableElement.focus();
},

Powered by Google App Engine
This is Rietveld 408576698