ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.02k stars 13.51k forks source link

bug: [WP8.1/Android 4.2] PTR non-functional with native scrolling #4834

Closed PerfectionVR closed 8 years ago

PerfectionVR commented 8 years ago

Type: bug

Platform: android 4.2, wp8.1

This problem is present in Ionic 1.2.1 on a Windows 8.1 Phone and android 4.2

On android 4.2 it sort of works but messes up somewhat bad when used with ng-repeat.

iOS9.1 iPad: Works Android 4.2 Tablet: semi-functional Android 5.x.x Phone: Works Windows 8.1 Phone: non-functional on Nokia Lumia 520.

My current workaround is to enable jScroll for windows phone and android 4.2, which has significant performance issues on ng-repeat lists. (Supposedly solved with collection-repeat which also breaks on windows phone)

PerfectionVR commented 8 years ago

My current workaround in my stateProvider

/* Workaround: https://github.com/driftyco/ionic/issues/4834 */
if (ionic.Platform.isWindowsPhone()) {
    $ionicConfigProvider.scrolling.jsScrolling(true);
}

if (ionic.Platform.isAndroid()) {
    if (ionic.Platform.version() === "4.2") {
        $ionicConfigProvider.scrolling.jsScrolling(true);
    }
}
/* End workaround */
mlynch commented 8 years ago

Should be fixed in a recent 1.2 release. Can you verify and let me know and I'll reopen if not? Thanks.