AutoFocus on Input

Hi

I have problem with input to make autofocus!

If I make in HTML than the keyboard open and close
<ion-textarea type=“text” id=“codeAnswer” name=“answer” [(ngModel)]=“codeAnswer” autofo>

Any Idea how to make autofocus…