Hi I’m new to ionic. I have an ion-textarea inside a modal and I have noticed that autofocus only fires once. Is this a normal behaviour ? I want the ion-textarea to autofocus every time the modal is opened.
My code for the textarea is below and it is outside ion-content.
<div style="border-top: .3px solid rgb(219, 219, 219);" *ngIf="this.thisCommentCount == '0' ">
<ion-item lines="none" style="height: auto; " >
<ion-textarea
formControlName="comment"
placeholder="Write a comment..."
rows="1"
auto-grow="true"
autofocus="true"
mode="ios"
maxlength="1000"
style=""
>
</ion-textarea>
</ion-item>
</div>
</form>