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

mirrored items visible #20

Open
jcphlux opened this issue Jun 26, 2015 · 1 comment
Open

mirrored items visible #20

jcphlux opened this issue Jun 26, 2015 · 1 comment

Comments

@jcphlux
Copy link

jcphlux commented Jun 26, 2015

If carousel is wider than all the items you can see the mirrored item.
Also if infinite is false is the mirrored item needed?

@misfist
Copy link

misfist commented Aug 13, 2015

I'm wondering the same thing. The mirrored images seem to load regardless.

sprak3000 pushed a commit to sprak3000/tinycarousel that referenced this issue May 6, 2016
This fixes an issue where mirrored items would be visible in the carousel when all of the items could fit into the visible space of the carousel. The behavior has been changed as follows:

* When the update() method is invoked, the mirrored items will only be appended if there are slides that will not fit into the visible area of the carousel.
* If infinite scrolling and buttons are enabled, the buttons will be toggled with the "disable" class based on if there are items that do not fit into the visible area of the carousel.
* If the "disable" class is applied to the buttons, it will not advance the slides.
* If you resize the window, the slide you are currently on will be "moved to".
sprak3000 pushed a commit to sprak3000/tinycarousel that referenced this issue May 6, 2016
* Updating behavior of "selected slide" to move to the first slide in the list if all the slides fit the visible area of the carousel.
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

2 participants