-
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 Prompt auto-focus of first input element broken since 3.4.2 #12214
Comments
Thanks for using Ionic, we will look into this. |
Just tried upgrading to 3.5.3: Unfortunately, this regression still exists in 3.5.3 |
Problem for me in 3.5.2 as well. |
The same in version 3.6.0 |
Is there a recommended work-around for this? |
@lostdev Nothing helps. Previously, the alerts were normal. |
@Rudimo have you attempted re-focusing the input manually once the modal is displayed? |
@lostdev No. It seems to me it will not help. |
@jgw96 Any update on this issue? I have a work-around for my most important screens but this issue is occurring across the board for me, and the work-around isn't ideal. Thank you! |
Thanks for the issue! This issue is being closed due to inactivity. 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. Thank you for using Ionic! |
Ionic version: (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.4.2 and above
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:
First input element in alert prompt created with AlertController is not focused automatically anymore since ionic-angular 3.4.2
Expected behavior:
First input element should be focused automatically
Steps to reproduce:
Original Behavior in 3.4.1:
http://plnkr.co/edit/TUAhgAC6V0HLdyNDXQjh?p=preview
(click open alert prompt button and watch auto-focus of input element)
Behavior in 3.4.2:
http://plnkr.co/edit/I8K6JuAIijbGldtxwnyA?p=preview
(no auto-focus anymore)
Behavior in 3.5.0:
http://plnkr.co/edit/9AuxpB27vQwgzxR4TgPz?p=preview
(still broken)
** Further Info **
Issue might be related to the following PR:
#12023
(Although it is tagged with 3.4.1 also, the changes seem to have been effective with 3.4.2 only.)
The text was updated successfully, but these errors were encountered: