angular-ui / ui-scroll

Unlimited bidirectional scrolling over a limited element buffer for AngularJS applications
http://angular-ui.github.io/ui-scroll/demo/
MIT License
327 stars 107 forks source link

$apply to $applyAsync #169

Closed Jerczu closed 7 years ago

Jerczu commented 7 years ago

$applyAsync seem to fix the $digest in progress issue reported in #168.

Jerczu commented 7 years ago

Not sure why build fails when removing $timeout from those lines $applyAsync doesn't require $timeouts. Because build fails I put them back in but technically they should not require one. It does fix the $digest in progress issue though.