Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

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

$
0
0

@alpar165 wrote:

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;
}
@end

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.

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>