bug:$digest already in progress when click quickly -- only iOS
type: bug Platform: iOS 9.3 webview and safari
if the user click element quickly when use ng-click or ionicGesture only on iOS, this error $digest already in progress in ionic 1.3.0.
And I found this issus in this code:
scope.$apply(function() { clickHandler(scope, {$event: (event)}); });
https://github.com/driftyco/ionic/blob/master/js/angular/directive/ngClick.js#L21
After I replaced the $apply with $applyAsync or $timeout, this issue is resolved
Hello! After reviewing this issue it seems that this is actually an Angular issue. Because of this I will be closing this issue for now. Thanks for using Ionic!
@jgw96 Can you link to the Angular issue that you mentioned?
The issue is not with Angular but with the complete drop of Ionic v1 support. The issue still exists in ionic v1.3.3 on iOS 10+ (10.1, 10.2, 10.3).
For anyone arriving here and having the same issue, here's my patch (for what it's worth).
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.