You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 4, 2022. It is now read-only.
Current behavior:
When having slides, with a scroll, as suggested here, in the last comment, the content disappears when opening the keyboard, except for the first input.
Note: this happens on device, in this example I am using an android emulator, but it also happens if you serve and open the page via iPhone.
The size of the grid should be handled whether or not the keyboard is being shown.
So, first you need to import the keyboard from the keyboard-plugin into your .ts
import { Keyboard } from 'ionic-angular'
export class Page {
constructor(public navCtrl: NavController, public navParams: NavParams,
private keyboard: Keyboard) { }
}
And use this keyboard to define the class of your ion-content:
Activity
pauloprado commentedon Jan 15, 2019
I've manage to fix this into my app by inserting the slides into a grid and controlling the size of the grid.
The first step is to remove the blank space that goes over your components, adding the following code into your css:
Then place your slides into the grid with only 1 row and column
The size of the grid should be handled whether or not the keyboard is being shown.
So, first you need to import the keyboard from the keyboard-plugin into your .ts
And use this keyboard to define the class of your ion-content:
The last step is to use theses two classes to really control the size through the css: