I\'ve tried several methods to disable scroll, including using CSS position: fixed
, attribute overflow-scroll=\"false\"
and etc, but all methods failed
Content is placed in the scrollable area if provided without a slot. To show a fixed content add slot="fixed"
.
<ion-content>
<div slot="fixed">
</div>
</ion-content>
This works in ionic 5:
ion-content {
--overflow: hidden;
}
<ion-content scroll-y="false">
Tested with ionic 3 (should work on ionic 2):
<ion-content no-bounce></ion-content>