Skip to content

Commit

Permalink
fix(input): slightly longer delay for autofocus (#12037)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manduro authored and manucorporat committed Jun 14, 2017
1 parent dc958c3 commit 54ac2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/input/input.ts
Expand Up @@ -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
Expand Down

0 comments on commit 54ac2e3

Please sign in to comment.