Prevent full page scroll when no scrolling


#1

Hello, I’d like to know if there’s any possibility of restricting the apps scrolling when there’s no scroll in the content.

I’m attaching a gif for you people to understand what I’m talking about.

Thanks for the help!!

PS: I’m running my with the app added to homescreen on ios


#2

In config.xml:

<preference name="DisallowOverscroll" value="true" />

Framework7 v4 tabs template in phonegap super slow on ios! anyone else notice this?
#3

Hi shastox, thanks for your quick answer! I’m not using Cordova, any way to get a solution without it?


#4

html,
body {
position: fixed;
}

Но, возможно, это вызовет где-то проблемы.