Hey there! I want to disable scrollAssist in single page, the code is
ionViewWillEnter() {
super.ionViewWillEnter();
this.config.set('scrollAssist', false);
this.config.set('scrollPadding', false);
this.config.set('autoFocusAssist', false);
console.log(this.config.get('scrollAssist'));
}
ionViewWillLeave() {
super.ionViewWillLeave();
this.config.set('scrollAssist', true);
this.config.set('scrollPadding', true);
this.config.set('autoFocusAssist', true);
console.log(this.config.get('scrollAssist'));
}
Now the value is false when ionViewWillEnter, but the page scroll up when keyboard show, so how to disable this “scroll up”, please help.