Cordova Apps und iOS Bounce Effekt

Seit iOS 11.3 sind alle Apps mit einem Bounce-Effekt beim scrollen versehen. Das wirkt sicht negativ auf Cordova-Apps aus, da diese nur im Webview scrollen sollen.

Dafür muss in der config.xml von Cordova folgendes eingefügt werden:

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

Danach muss die App mit cordova build ios neu kompiliert werden.

Disable iOS Scroll Bounce/OverScroll in Cordova Apps | Mahdi Hazaveh

Disable iOS Scroll Bounce/OverScroll in Cordova Apps | Mahdi Hazaveh

Source: hazaveh.net/2018/02/disable-ios-scroll-bounce-overscroll-in-cordova-apps/