Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with autoPlay #4

Open
juancamilov06 opened this issue Feb 15, 2018 · 4 comments
Open

Issue with autoPlay #4

juancamilov06 opened this issue Feb 15, 2018 · 4 comments

Comments

@juancamilov06
Copy link

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 the ngOnDestroy lifecycle hook

@msarsha
Copy link

msarsha commented Feb 16, 2018

#3 should fix it.

@Muthukumaruma
Copy link

I updated the packege but still i am facing the same issue

@Muthukumaruma
Copy link

Muthukumaruma commented Jun 27, 2018

Thanks, its works, before i forgot to uninstall the ui-carousel

@msamprz
Copy link
Contributor

msamprz commented Jun 27, 2018

No problem, good luck. Btw you wrote this in the wrong thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants