-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alert input autofocus keyboard shows and then goes back to hiding again on item tap. #12560
Comments
Only issue I have is the on item tap, the keyboard shows halfway and then goes back to hiding. When tapping the input though, it works properly (the .gif just shows it a bit awkward, but works properly). |
I remembered adding this preference tag on my config.xml file before. <preference name="KeyboardDisplayRequiresUserAction" value="false" /> This made the autofocus worked before. |
well. didn't know there was this option. now working. this.alertController.create(
...
)
.present({
keyboardClose: false
}); |
Nice! This worked for me too. |
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. |
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[x ] 2.x
[ ] 3.x
I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Alert input autofocus keyboard not working properly on item tap. It shows up like 30% and then it hides again.
Expected behavior:
Alert input autofocus used to work properly before I updated my ionic version.
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):cli packages: (/Users/administrator/development/sportsinfocus-mobile-app/node_modules)
global packages:
local packages:
System:
The text was updated successfully, but these errors were encountered: