[1.0.0-beta.3-nightly-1984]: Uncaught TypeError when scrolling on Android device

05-06 12:08:21.970: E/Web Console(30413): Uncaught TypeError: undefined is not a function at file:///android_asset/www/lib/js/ionic.bundle.js:467

I’m getting this error as soon as I start scrolling on my Android 4.1.2 device (DROID RAZR MAXX). When using collection-repeat, this error kills scrolling completely. If I switch back to ng-repeat, I still see the errors in the console, but scrolling seems to work.

On ios there’s no error. Just on android.

With the beta3 ionic, not nightly, there’s also no error, so it seems it’s due to some recent change?


Hey thank for pointing this out. Do you mind posting a sample of your code so we can try this on an actual device?

Also, could try and reference the CDN versions of ionic?

<link href="http://code.ionicframework.com/nightly/css/ionic.min.css" rel="stylesheet">
<script src="http://code.ionicframework.com/nightly/js/ionic.bundle.js"></script>

Also, could you post what code is around line 467 of your ionic.bundle.js?

It’s the var event = line below:

// Trigger a new event
    trigger: function(eventType, data, bubbles, cancelable) {
      var event = new ionic.CustomEvent(eventType, {
        detail: data,
        bubbles: !!bubbles,
        cancelable: !!cancelable

I’ll try make this into a reproducible codepen.

Good news. I updated to the latest nightly (1992) and the problem seems to have gone away. Sorry for the false alarm. Thanks.

Awesome, glad to here!