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

Feature request: Infinitely loop without scrolling back to first slide #288

Open
martin-badin opened this issue Sep 19, 2018 · 30 comments
Open
Labels
feature good first issue This issue is good for a new vue developer! help wanted roadmap This is an essential requirement for next version

Comments

@martin-badin
Copy link

Please add support for infinite loop without scroll to the first slide.

If I'm on the last slide, the next slide should be the first slide. For example please see the slick slider.

@martin-badin martin-badin changed the title Infinite loop without scroll to first slide Feature request: Infinite loop without scroll to first slide Sep 19, 2018
@focussing
Copy link

👍

@sergiocastrovale
Copy link

Yeah, this is kind of the expected behavior on a loop-able slider, not the other way around. Any chance it will be included soon?

@quinnlangille
Copy link
Member

We've had lots of requests for this, I'll flag this as a feature request!

@quinnlangille quinnlangille added help wanted feature good first issue This issue is good for a new vue developer! labels Oct 10, 2018
@wes977
Copy link
Contributor

wes977 commented Oct 27, 2018

I added a story to the play using a prop "loop" that makes the carousel return to the first slide if set to true.

@quinnlangille
Copy link
Member

quinnlangille commented Oct 28, 2018

Hey @wes977, thanks for updating the docs with an example. I should have thought of it before, since it would likely answer a lot of questions we get regarding autoplay and loop.

However, just to clarify, the feature requested here is to continue looping without the animation that returns to the first slide. So rather than

1 -> 2 -> 3 🔁 
  1 -> 2 -> 3 🔁 
    1 -> 2 ->3 

the expected functionality would be,

1 -> 2 -> 3 -> 1 -> 2 -> 3 -> 1 -> 2 -> 3

as a seamless loop, which require some intervention in the codebase to implement. I've though about it a bit while writing this and the feature will probably involve pushing values to the slides array rather than resetting the count on the loops end.

@focussing
Copy link

yes that would be much appreciated :)

@Kemper-Diao
Copy link

This request is solved ? I have the same request

@bartdominiak
Copy link

bartdominiak commented Nov 3, 2018

@Kemper-Diao Use prop: loop="true"

@Kemper-Diao
Copy link

@Kemper-Diao Use prop: loop="true"

but It's still not working, my version is 0.16.0-rc1, is that right?

@quinnlangille
Copy link
Member

Hey @Kemper-Diao, no this is still an open feature request. If a feature has been added into a release, it's issue will be closed and comment will be made with the release.

@quinnlangille quinnlangille changed the title Feature request: Infinite loop without scroll to first slide Feature request: Infinitely loop without scrolling back to first slide Nov 11, 2018
@ashleysimpson ashleysimpson added the roadmap This is an essential requirement for next version label Nov 20, 2018
@dacsang97
Copy link

@Kemper-Diao :loop="true" working in 0.16.0-rc2

@timeandtimeago
Copy link

Should this not be added to the API page on the github.io site?
https://ssense.github.io/vue-carousel/api/

@simonorono
Copy link

@timeandtimeago this is yet to be implemented

@engelde
Copy link

engelde commented May 19, 2019

Just wanted to throw in another request for this feature. This is a great project. Thank you and keep up the good work!

@Nfinished
Copy link

+1

@gasperecf
Copy link

This would also solve problem with swipe to next on last slide

@Lanatel
Copy link

Lanatel commented Jun 24, 2019

+1

3 similar comments
@damienmcd
Copy link

+1

@jfaq89
Copy link

jfaq89 commented Aug 15, 2019

+1

@hcristiano
Copy link

+1

@madhuab
Copy link

madhuab commented Nov 16, 2019

Is this feature released? 1-2-3-1-2-3-1-2-3 not 1-2-3-321-2-3-321-2-3

@cnsaavedra
Copy link

+1 for (say for example 3 slides) loopable infinitely instead of scrolling from 3 to 1 by going through 2

i.e.:
. . . 3-> 1 -> 2 -> 3 -> 1 -> 2 -> 3 . . .

@Skmt3P
Copy link

Skmt3P commented Mar 11, 2020

When will this PR be merged...? Is there anything that I can do?
#360

@abhipanda
Copy link
Contributor

Its over a year now :(

@marcosdipaolo
Copy link

Any news about this?

@Oswalman
Copy link

Oswalman commented Jun 8, 2020

I have the same problem :c

@jeff-kroot
Copy link

Everyone here, see my comment in #360. There are bugs in that PR when combined with :scrollPerPage="false". If you don't care about that, my suggestion would be to fork, apply the patch, and deploy it for yourself.

@yohanesisa
Copy link

i just use vue-carousel today and wondering if it can do a infinite loop, the documentation mention nothing about it and i found this open ticket...

so i'm using "vue-carousel": "^0.18.0"
and i used props <carousel :loop="true"> and it doing great!

Hope everyone that wondering can try it too and documentation should be update soon.
Thank you for this great package, so appreciate it 👌

@focussing
Copy link

focussing commented Feb 22, 2021 via email

@Gyunbie
Copy link

Gyunbie commented Apr 16, 2022

Everyone here, see my comment in #360. There are bugs in that PR when combined with :scrollPerPage="false". If you don't care about that, my suggestion would be to fork, apply the patch, and deploy it for yourself.

I forked the PR but how do you actually make it work? I couldn't make it infinite scrollable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue This issue is good for a new vue developer! help wanted roadmap This is an essential requirement for next version
Projects
None yet
Development

No branches or pull requests