bug: ion-content: Scroll not working for android 4.4.2.
Type: bug
Ionic Version: 1.x
Platform: android 4.4 webview
Hi there,
This is my structure
ion-content -> ion-list -> ion-item -> div -> div.
I am using ng-repeat as well.
I can see the ionic scroll working on Android 5.1.2 version, but the same is not working for Android version 4.4.2. Am I missing something? Is this a known issue?
This is ionic info
Cordova CLI: 5.4.1 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.0 Ionic Version: 1.2.4 Ionic CLI Version: 1.7.13 Ionic App Lib Version: 0.6.5 ios-deploy version: 1.8.4 ios-sim version: 5.0.6 OS: Mac OS X El Capitan Node Version: v4.2.4 Xcode version: Xcode 7.1 Build version 7B91b
Thanks
+1
+1
I have a scroll issue, and I try to downgrade ionic to 1.2.3. And I found the bug was fixed.
overflow-scroll:false in the ion-content worked for me. Try that.
That did not work for me. But, it worked when I removed the style 'display: table !important;' from .scroll-content. Thank you.
+1. Works fine on 5.1.1 and iOs 9
Edit: Fixed, updated to 1.2.4.
Setting overflow-scroll="false" worked for me too. Thanks @CarlosAmaral !
You're welcome @varunis
@varunis thanks 谢谢你解决了我的问题
@All, overflow-scroll="false" in ion-content worked for me for android 4.4
overflow-scroll="false" in ion-content worked for me too thanks @CarlosAmaral
+1 overflow-scroll="false" worked for me but this has bug in browser too
Hi @fasilpv,
Can you provide a codepen or plunkr? I cannot recreate with this:
<ion-content overflow-scroll="true">
<!--<ion-refresher on-refresh="doRefresh()">
</ion-refresher>-->
<ion-list>
<ion-item ng-repeat="item in items">
<div>
<div>{{item}}</div>
</div>
</ion-item>
</ion-list>
</ion-content>
Hello! As it has been a little while since there was any activity on this issue i will be closing for now, but, if you are able to get that codepen/plunkr together feel free to comment!
The issue is still present with Android 4.3 (api 18). You can reproduce it also on AVD. The workaround (overflow-scroll="false" on ion-content) solve the problem.
These are environment data: Cordova CLI: 6.1.1 Gulp version: CLI version 3.8.11 Ionic Version: 1.3.0 Ionic CLI Version: 1.7.14 Ionic App Lib Version: 0.7.0 AVD with Android 4.3 (api 18)
Thanks
Hello @giogit ! Would you mind trying Crosswalk with your app? Although we support Android 4.3 we do recommend using Crosswalk if you plan on your app supporting it.
I've just updated my original post, because I made a mistake: if I set overflow-scroll="false" on the ion-content element, the scrolling works on Android 4.3. I will do some regression test on other platforms. Thank you for prompt reply!
@giogit No problem! If you run into any issues on other platforms feel free to let me know!
Happend to me right now in Android 4.4 - api-19 in the emulator, and Galaxy s4 with Android 4.2 and Galaxy S3 mini with Android 4.2: overflow-scroll="false" does not work for me
If I set the overflow-scroll="false" then I'm unable to tap/click a button on android 4.2, emulators and real devices.