-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
Hi @mtr
I'm using ngAnimate to mange page transitions and I set angular-iscroll to automatically refresh all istances every 500ms (refreshInterval: 500).
Sometimes when i change page in my angular app, I get this error:
TypeError: Cannot read property 'length' of undefined
at _indicatorsMap (iscroll.js:974)
at Object.<anonymous> (iscroll.js:1007)
at Object.IScroll._execEvent (iscroll.js:739)
at Object.IScroll.refresh (iscroll.js:698)
at _refreshAfterInitialRender (angular-iscroll.js:162)
at angular.js:18132
at completeOutstandingRequest (angular.js:5729)
at angular.js:6006
I think it's because the module is trying to refresh a IScroll instance after the page is destroyed.