Ionic 5 / When some line break are typed into textarea, a cursor is hidden behind that keyboard

When some line break are typed into textarea that’s used the textarea component, a cursor is hidden behind that keyboard.
We hope that the the cursor is not be hidden behind keyboard.
In short, We want to implement a movement like the twitter input form.
Someone, tell me how to implement that. please.

it use ionic 5 / ios

<ion-item>
    <ion-textarea formControlName="text" rows="18" #input_comment placeholder=""
          autoGrow="true"></ion-textarea>
</ion-item>

app.module.ts

imports: [
  BrowserModule,
  IonicModule.forRoot(
    {
      mode: 'ios',
      swipeBackEnabled: false,
      scrollAssist: false,
      scrollPadding: false
    }
  ),
6 Likes