mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
fix(backdrop): flicker in UIWebView
This commit is contained in:

committed by
Adam Bradley

parent
ac8e4dce06
commit
44ab527f74
@ -95,12 +95,16 @@ export class App {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
setScrollDisabled(disabled: boolean) {
|
||||
setScrollDisabled(disableScroll: boolean) {
|
||||
let enabled = this._config.get('canDisableScroll', true);
|
||||
if (!enabled) {
|
||||
return;
|
||||
}
|
||||
if (!this.appRoot) {
|
||||
console.error('appRoot is missing, scrolling can not be enabled/disabled');
|
||||
return;
|
||||
}
|
||||
this.appRoot.disableScroll = disabled;
|
||||
this.appRoot.disableScroll = disableScroll;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user