Prevent page from being draggable

#1

Hi,

when I run my app on a mobile device, I can drag the page down just like I would in a browser to trigger a reload. Is there a way to prevent this? the page header sticks to the top of the screen, but the rest not.

Thanks,

Heiner

#2

You might try setting

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

in the config.xml

also look at the forceOverscroll attribute, see https://ionicframework.com/docs/api/content

#3

Thanks for the tip. But that doesn’t seem to work. First problem: This file gets overwritten through “npx cap copy”. Okay, for testing, this can be skipped. But even with this setting, nothing changes. I can still drag and bounce the page.