Open juancamilov06 opened 6 years ago
When i navigate from the component that contains ui-carousel to another one, using router i get the following error.
ObjectUnsubscribedError {name: "ObjectUnsubscribedError", stack: "ObjectUnsubscribedError: object unsubscribed↵ a…ernal:///../../../../zone.js/dist/zone.js:485:48)", message: "object unsubscribed"} message : "object unsubscribed" name : "ObjectUnsubscribedError"
Disabling the autoPlay option [autoPlay]='false' works, but, what if i need this option to be enabled? I think that some observable is not handled in a good way in the ngOnDestroy lifecycle hook
[autoPlay]='false'
ngOnDestroy
I updated the packege but still i am facing the same issue
Thanks, its works, before i forgot to uninstall the ui-carousel
No problem, good luck. Btw you wrote this in the wrong thread.
When i navigate from the component that contains ui-carousel to another one, using router i get the following error.
ObjectUnsubscribedError {name: "ObjectUnsubscribedError", stack: "ObjectUnsubscribedError: object unsubscribed↵ a…ernal:///../../../../zone.js/dist/zone.js:485:48)", message: "object unsubscribed"} message : "object unsubscribed" name : "ObjectUnsubscribedError"
SOLUTION
Disabling the autoPlay option
[autoPlay]='false'
works, but, what if i need this option to be enabled? I think that some observable is not handled in a good way in thengOnDestroy
lifecycle hook