kadoshms / ionic2-autocomplete

Ionic 2 autocomplete component
MIT License
149 stars 108 forks source link

Cannot get focus when tapping on the ion-auto-complete on Android phone. #132

Closed wuzp1230 closed 6 years ago

wuzp1230 commented 6 years ago

I tried to put an in a or a and built it to an apk. When I tried to tap on the ,the input cursor don't show,keyboard don't pop up either. But when I run on Chrome with DevTool on my computer,the input cursor works well. My devices: an android 6.0 and an android 7.1.2, niether works. I also tried to add a (click) to activate the setFocus(), but nothing solved. Whats wrong? Looking forward to your reply. <ion-auto-complete style="width: 100%;" [options]="{ placeholder:approvalPersonSelected}" #searchbar (click)="setSearchBarFocus()" (itemSelected)="itemSelected($event)" (itemsShown)="itemsShown($event)" (itemsHidden)="itemsHidden($event)" [dataProvider]="completeTestService">

Exormeter commented 6 years ago

I might have the same issue on iOS, do you get the keyboard if you tap the input field rapidly?

wuzp1230 commented 6 years ago

I can get the keyboard when I long press the input.Then a little 'paste' tip comes up.It's unfriendly.

kadoshms commented 6 years ago

Duplicate of #134