Is there any way how to prevent input from being moved by fingers?


#1

I have a input inside of grid like this

<ion-content class="travel-homepage-content" padding>
  <ion-grid class="travel-searchbar-output">
    <ion-row>
      <ion-col>
        <ion-item class="travel-searchbar">
          <ion-input text-center type="text" placeholder="Kam by ses chtěl/a podívat?">ahoj</ion-input>
        </ion-item>
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>

I want to prevent this input from being moved by fingers. Is there any way how to do this?


#2

Problem solved. I just had to add to this to the scss file:

.scroll-content {
    overflow: hidden;
  }