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

Changing list of items causes owl carousel to be destroyed and then recreated so creates a weird look #46

Open
aks1994 opened this issue Apr 23, 2018 · 1 comment

Comments

@aks1994
Copy link

aks1994 commented Apr 23, 2018

I have an owl carousel in a component which has different route params. For each route param, the list of items in the carousel changes.

I've used [items]="images" on the owl carousel so that the list updates fine, but when I change the route, the owl carousel disappears for a split second and then reappears. This looks strange because the rest of the component does not have to update when the route params change.

I feel that this should not be reinitialized in this way. Any thought would be appreciated. Thanks

@aks1994
Copy link
Author

aks1994 commented Jun 15, 2018

Any thoughts/suggestions would be much appreciated, thanks.

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

1 participant