mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(input): slightly longer delay for autofocus (#12037)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user