Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 90de2d4

Browse files
author
Yvonne Yip
committed
call super in inputFocusAction
1 parent 432be21 commit 90de2d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

paper-input.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
this.label = this.placeholder;
234234
},
235235

236-
inputFocusAction: function(e) {
236+
inputFocusAction: function() {
237237
if (!this.pressed) {
238238
if (this.floatingLabel) {
239239
this.$.floatedLabel.classList.remove('hidden');
@@ -243,7 +243,8 @@
243243
this.$.label.classList.add('hidden');
244244
this.$.underlineHighlight.classList.add('focused');
245245
this.$.caret.classList.add('focused');
246-
this.$.input.focus();
246+
247+
this.super(arguments);
247248
}
248249
this.focused = true;
249250
},

0 commit comments

Comments
 (0)