samccone / paper-typeahead

A typeahead polymer element, using material design
Apache License 2.0
41 stars 20 forks source link

Fix typeahead for polymer 2 #46

Closed beckysiegel closed 5 years ago

beckysiegel commented 6 years ago

Because is= isn't supported in polymer2, the polymer 2 version of paper-typeahead's input was just a regular input, and not an iron-input. This resulted in bugs due to iron-input functions not getting triggered.

This is fixed the same way polymerElements made paper-input into a hybrid element- by swapping out different versions of the iron-input element based on which version of polymer is being used.