How to change the backdrop's opacity in an loading indicator that created by LoadingController?


#1

Ionic version:
Ionic2

Current behavior:
When I change the backdrop’s opacity to 0, I can scroll the content that under the backdrop.When the opacity of backdrop isn’t 0, I can’t scroll the content under that the backdrop.

Expected behavior:
When I change the backdrop’s opacity to 0, I hope the content that under the backdrop can’t be scroll.
How to change the backdrop’s opacity?

Related code:
I use the following code to create my loading:

presentLoadingDefault() {
let loading = this.loadingCtrl.create({
cssClass: ‘activity-detail-loading’
});
loading.present();
setTimeout(() => {
loading.dismiss();
}, 5000);
}