Property 'disableScroll' does not exist on type 'Keyboard'


#1

Hi there … i’m a bit of a novice and i’m trying to work on a commercial Ionic Template, with no help from the developer.

I have followed all of the pre-requisites and not touched any of the original source code but unfortunately when i try to serve the App using ionic serve i get the following, any direction on where to start or further information you require would be greatly appreciated.

Typescript Error
Property 'disableScroll' does not exist on type 'Keyboard'.
src/pages/home/home.ts
this.statusBar.styleLightContent();
this.keyboard.disableScroll(false);
this.keyboard.hideKeyboardAccessoryBar(false);

Typescript Error
Property 'hideKeyboardAccessoryBar' does not exist on type 'Keyboard'.
src/pages/home/home.ts
	this.keyboard.disableScroll(false);
	this.keyboard.hideKeyboardAccessoryBar(false);
}

#2

Any solution for this?
I am having same error here

[app-scripts]             Property 'disableScroll' does not exist on type 'Keyboard'.
[app-scripts]       L55:    //*** Control Keyboard
[app-scripts]       L56:    this.keyboard.disableScroll(true);
[app-scripts]       L57:  });

#3

Sadly, no update on this one :frowning:


#4

Also having this issue… Wasnt an issue a few weeks ago in another PC. I suspect this method was removed/changed recently and now it downloaded a new version/patch of the latest code onto my new machine and outputs this error…


#5

Even i am facing this issue after i update to the latest version :frowning:


#6

hideKeyboardAccessoryBar is hideFormAccessoryBar in new update


#7

I have the same problem, any solution?