I am developing an app in Ionic 3.2 version. I have a ion-refresher inside ion-scroll. I want to disable scrolling of ion-content and want to show the ion-refresher inside the ion-scroll when scroll the ion-list. But it fails.
- I tried
no-bounce(<ion-content no-bounce>) anddisable-scroll(<ion-content disable-scroll>) but still content is scrolling - I tried to put
ion-fixedinsidecontentand inside adivjust below thecontent. But then theion-refreshernot working. - I tried
scroll="false"(like in ionic 1.0) but still scrolling
Below the code;
<ion-content scroll="false">
<ion-scroll scrollY="true" style="width: 100% !important;height:30% !important">
<ion-refresher (ionRefresh)="fill_data($event)">
<ion-refresher-content pullingIcon="arrow-dropdown" pullingText="{{ 'pull_to_refresh' | translate }}" refreshingSpinner="circles"
refreshingText="{{ 'refreshing' | translate }}">
</ion-refresher-content>
</ion-refresher>
<ion-list>
//data filling here
</ion-list>
</ion-scroll>
</ion-content>
Please help me...