Ion-input android bug

Hello, I have encountered a strange bug, or I am doing something completely wrong. Either way I hope you guys can help me.
I want my content to be centered and in my page html I have

<ion-content padding>
  <ion-input type="text"></ion-input>
and in sccs .scroll-content { background-color: #737486; align-items: center; display: flex; flex-direction: column; justify-content: center; } On windows an ios everything seems to be working fine, but on Android (browser simulation, and actual device) when ion-input is focused everything goes to the top of the screen and sometimes everything disappears. Thanks in advance And sorry for poor formatting, this is my first post here