@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:
- Tried to modify the config.xml with
<preference name="DisallowOverscroll" value="true" />
- Scss trick was this one
-webkit-overflow-scrolling: auto/touch;
- Tried the forceOverscroll in ion-content
- 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