Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

multiple carousels on the same page set base options for the next ones #5

Open
yobottehg opened this issue Jun 25, 2018 · 3 comments
Open
Assignees

Comments

@yobottehg
Copy link
Member

to see here:
https://www.dev-54ta5gq-densryw4wsozu.eu.platform.sh/de/referenzen/k204-wiggertalstrasse-neubau-betonkreisel-bernstrasse

The first carousel sets items: 4 and margin: 10

The next carousel inherits this and i need to reset the values.

A carousel should never inherit options

@tonystar
Copy link
Contributor

@yobottehg if you'll share the rapp code - I can help to investigate! atomic-carousel itself seems to work correctly

@tassilogroeper
Copy link
Contributor

@yobottehg can you be more specific about the problem? With the link provided, I can not reproduce margins beeing inherited also Item count is correct on the second carousel?!

@yobottehg
Copy link
Member Author

@pheadeaux yes because i provide overwrite values data-carousel="{"loop":true,"items":1,"margin":0}" it works. if you leave them away the carousel will have 4 items.

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

No branches or pull requests

3 participants