Fix autocomplete on android

There was an issue where typing in an autocomplete did not behave as
expected. Many letters would get duplicated, and the backspace did not
work. It seems to have been caused by focusing on the paper-input
rather than the input element inside the paper-input.

Bug: Issue 7566
Change-Id: I115aa9cd0ab93b4e428a1df05e24519f6c55be5b
This commit is contained in:
Becky Siegel
2017-10-26 11:42:28 -07:00
parent e25587f9df
commit d8f57da28e

View File

@@ -287,7 +287,7 @@
default:
// For any normal keypress, return focus to the input to allow for
// unbroken user input.
this.$.input.focus();
this.$.input.inputElement.focus();
}
this.fire('input-keydown', {keyCode: e.keyCode, input: this.$.input});
},