Disable floating effect


#1

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
#2

@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:


#3

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" />

#4

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