Ionic 2 rc3 after modal close another input focus and keyboard open
I have input <ion-input type="text" formControlName="trip_id" placeholder="Tag Trip" (tap)="showAutoFill()" (focus)="showAutoFill()" [(ngModel)]="trip.title" readonly>
when we select search item modal close, and another input is focused & keyboard is open
Hello, thanks for opening an issue with us! Would you be able to provide a plunker that I can use to reproduce this issue?
Can also confirm this. It only happens on iOS not Android. Here's a plunker; http://plnkr.co/edit/0RpQAN15SKOAYjO7BDUo
If the keyboard is up and you call dismiss on the ViewController the keyboard stays up. This behavior only happens on iOS. You can only get the keyboard down again if you select another input somewhere.
I've solved this problem temporarily by using the Keyboard class. Keyboard.close().
Hello all! As it seems it has been a while since there was any activity on this issue I am closing it for now. Feel free to comment if you are still running into this issue.
If you are still having the issue, please be sure to include a GitHub repo with a sample application.
Thanks for using Ionic!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.