Ionic 2 <ion-content> disable scroll

Reo Lim picture Reo Lim · Nov 4, 2016 · Viewed 50.2k times · Source

I've tried several methods to disable scroll, including using CSS position: fixed, attribute overflow-scroll="false" and etc, but all methods failed.

When I swipe down, the buttons will go up and while I swipe up the buttons will go down, like bouncing effect.

May I know any solutions to this issue? Thank you very very much.

Answer

OriolJ picture OriolJ · May 3, 2017

Tested with ionic 3 (should work on ionic 2):

<ion-content no-bounce></ion-content>