[iOS] [Ionic 5] [Angular 9] Bouncing effect on device

Hey there. I have an issue, which I can’t resolve for a while. When testing on real device (iPhone 6s, iPhone X) the whole app is bouncing as you start scrolling (even if there is no space to scroll, because everything is fitted on home page). I tried many “solutions”, but none of them worked.
For example:

  1. Tried to modify the config.xml with
    <preference name="DisallowOverscroll" value="true" />
  2. Scss trick was this one
    -webkit-overflow-scrolling: auto/touch;
  3. Tried the forceOverscroll in ion-content
  4. Tried to add a plugin to CDVUIWebViewEngine folder in ios/CordovaLib/Classes/Private/Plugins/
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@implementation UIScrollView (NoBounce)
- (void)didMoveToWindow {
    [super didMoveToWindow];
    self.bounces = NO;

Updated almost everything in project, angular, ionic, ionic cli versions, even the dependencies, manually.

Please, if someone knows how to fix this, so the Ionic app can actually work on iPhone as expected, without this bouncing effect when scrolling, or swiping up and down.


My problem was resolved by adding scrollY=“false” to ion content, in app.component.html

<ion-content scrollY="false">
  <ion-router-outlet id="main"></ion-router-outlet>

Thanks, you saved my time :slight_smile: