A thin directive bundled with the scroll-into-view-if-needed ponyfill for scrolling the ion input into the view on focus event only if needed. Built for both Ionic 2 & 3 applications
npm install ion-input-scroll-into-view npm install ion-input-scroll-into-view --save
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { ParentPage } from './parent';
import { IonInputScrollIntoViewModule } from 'ion-input-scroll-into-view';
@NgModule({
declarations: [
ParentPage
],
imports: [
IonicPageModule.forChild(ParentPage),
IonInputScrollIntoViewModule
],
})
export class ParentPageModule {}
``