ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

scrolling freezes and scroll not working in iphone devices ionic3? #398

Open kapilSoni101 opened 5 years ago

kapilSoni101 commented 5 years ago

Short description of the problem:

I have create the app in ionic3 it working perfectly but in the iphone devices scrolling not working and screen freezed. if I use in the app.scss from this link:

https://github.com/ionic-team/ionic/issues/11584

.content-ios:not([no-bounce])>.scroll-content::before { bottom: 0; }

above css remove the bouncing effect but in the segment section screen are bouncing again where we have to used segment section.after add above css scrolls perfectly with native momentum. But, div itself sometimes freezes and does not respond my finger moves. After 2-3 seconds later, it becomes again scrollable

I don't know how I am reproducing this problem. But, as I see there are two main behavior creates this situation.

First, If I wait for a while, for instance, 20 seconds, and touch the div, it does not respond. I wait a couple of seconds, and it becomes working again.

Second, I touch several times quickly, and then, it becomes freezing, and again, after a couple of seconds later, it starts working again.

How can I prevent this freezing as well scrolling below we have create the video for that issue please check and let me know:

https://www.youtube.com/watch?v=F-0nyueulS4&feature=youtu.be

What behavior are you expecting?

Scrolling working smooth in the iphone devices but right now scrolling not woriking?

Which Ionic Version? 3.9

Run ionic info from terminal/cmd prompt: cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.3
ionic (Ionic CLI) : 3.20.1

global packages:

cordova (Cordova CLI) : 7.1.0 

local packages:

@ionic/app-scripts : 3.2.3
Cordova Platforms  : android 6.4.0 ios 4.5.5
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.4 
Node       : v11.10.1
npm        : 6.9.0 
OS         : macOS
Xcode      : Xcode 10.1 Build version 10B61 
ronaldso55 commented 5 years ago

For ionic 1, see https://github.com/ionic-team/ionic-v1/issues/400.