3

I build ionic 3 app. I have inputs field and when I press on them to begin to type anything the screen changed..

before

enter image description here

when I press on any input field the screen changed(it's test also in real device) enter image description here

sebaferreras
  • 44,206
  • 11
  • 116
  • 134
Manspof
  • 598
  • 26
  • 81
  • 173
  • Can you show the `Scss` code on that page's layout? – Sampath Sep 26 '17 at 23:35
  • 2
    Possible duplicate of [Ionic 2 Form goes up when keyboard shows](https://stackoverflow.com/questions/41161705/ionic-2-form-goes-up-when-keyboard-shows) – Duannx Sep 27 '17 at 01:57

2 Answers2

1

You can fix this problem by adding this style to app.scss:

    ion-grid {
      min-height: 100%;
     }

The keyboard resizes Ionic's grid system if you didn't define its minimum height.

-1

Take a look at the native keyboard to prevent the keyboard from pushing things up.

keyboard.disableScroll(bool);

Ionic Native Keyboard Documentation

Clint
  • 2,696
  • 23
  • 42