fix(input): slightly longer delay for autofocus (#12037)

This commit is contained in:
Job
2017-06-14 15:09:23 +02:00
committed by Manu MA
parent dc958c3e2c
commit 54ac2e393f

View File

@@ -324,7 +324,7 @@ export class TextInput extends BaseInput<string> implements IonicFormInput {
case 'delay':
// config says to chill out a bit and focus on the input after transitions
// works best on desktop
this._plt.timeout(() => nativeInputEle.focus(), 650);
this._plt.timeout(() => nativeInputEle.focus(), 800);
break;
}
// traditionally iOS has big issues with autofocus on actual devices