Disable WebView Application Being Pull Up and Down

I’ve created a hybrid app¬†using Cordova, and notice I’m able to pull the header down and footer up, which lead to weird behaviour when using the app (at least I feel so).

Normal View

normal view

Pull Up

pull up

pull down

pull down

Adding single line of configuration in config.xml solve the issue. (pheeew… spend couple of hours to research this)

<preference name="DisallowOverscroll" value="true"/>
Reference: http://cordova.apache.org/docs/en/6.x/config_ref/index.html



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.