Google map is squeezing after clicking on ion-input How to fix this?

so I have created an app which is using google maps API and some ion-inputs to set directions. But every Time when I click on ion-input and I want to type something in it the map squeezes. I don’t know how to fix it.

It looks like this:
Before clicking:

After clicking:

Does anybody knows how to help me?

Thanks in Advance!