Disable floating effect


When I swipe up/down or left/right the whole screen “floats” in that direction following the swipe. How can I disable this behaviour? Thanks!

Dragging from navbar drags whole app view

@heruan on Cordova? Make sure to have this in your config.xml:

<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />

Depending on your Cordova version, one of these should work :smile:


Thank you @max! Those keys did’t work but you lead me on the right path: on Cordova 3.2.0 one should use:

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


Ah yes, I gave you the old one. Good call!