vue-carousel icon indicating copy to clipboard operation
vue-carousel copied to clipboard

Feature request: Infinitely loop without scrolling back to first slide

Open martin-badin opened this issue 6 years ago β€’ 30 comments

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 avatar Sep 19 '18 17:09 martin-badin

πŸ‘

focussing avatar Oct 03 '18 10:10 focussing

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?

sergiocastrovale avatar Oct 10 '18 11:10 sergiocastrovale

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

quinnlangille avatar Oct 10 '18 15:10 quinnlangille

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

wes977 avatar Oct 27 '18 23:10 wes977

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.

quinnlangille avatar Oct 28 '18 15:10 quinnlangille

yes that would be much appreciated :)

focussing avatar Oct 28 '18 15:10 focussing

This request is solved ? I have the same request

Kemper-Diao avatar Nov 01 '18 09:11 Kemper-Diao

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

bartdominiak avatar Nov 03 '18 12:11 bartdominiak

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

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

Kemper-Diao avatar Nov 05 '18 10:11 Kemper-Diao

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 avatar Nov 11 '18 12:11 quinnlangille

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

dacsang97 avatar Nov 21 '18 04:11 dacsang97

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

timeandtimeago avatar Feb 04 '19 18:02 timeandtimeago

@timeandtimeago this is yet to be implemented

simonorono avatar Feb 06 '19 13:02 simonorono

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

engelde avatar May 19 '19 01:05 engelde

+1

Nfinished avatar May 31 '19 14:05 Nfinished

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

gasperecf avatar Jun 24 '19 12:06 gasperecf

+1

Lanatel avatar Jun 24 '19 14:06 Lanatel

+1

damienmcd avatar Jul 11 '19 09:07 damienmcd

+1

jfaq89 avatar Aug 15 '19 14:08 jfaq89

+1

hcristiano avatar Aug 31 '19 01:08 hcristiano

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

madhuab avatar Nov 16 '19 17:11 madhuab

+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 . . .

cnsaavedra avatar Feb 10 '20 17:02 cnsaavedra

When will this PR be merged...? Is there anything that I can do? https://github.com/SSENSE/vue-carousel/pull/360

Skmt3P avatar Mar 11 '20 04:03 Skmt3P

Its over a year now :(

abhipanda avatar Apr 29 '20 07:04 abhipanda

Any news about this?

marcosdipaolo avatar Jun 03 '20 23:06 marcosdipaolo

I have the same problem :c

Oswalman avatar Jun 08 '20 18:06 Oswalman

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.

jeff-kroot avatar Jun 16 '20 11:06 jeff-kroot

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 πŸ‘Œ

yohanesisa avatar Feb 22 '21 05:02 yohanesisa

You are right; it works. But what it does it goes to the last slide and then runs back in the opposite direction to slide 1. Instead of keeping the scrolling direction as it was…

Best regards, Mit freundlichen Grüßen, Met vriendelijke groet, Raymond Verbruggen

FOCUSSING B.V. Mispel 8 7621 WB Borne Netherlands +31 6 250 500 69 [email protected] www.focussing.nl

Op 22 feb. 2021, om 06:39 heeft Yohanes Isa [email protected] het volgende geschreven:

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 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 πŸ‘Œ

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SSENSE/vue-carousel/issues/288#issuecomment-783098780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGL7MGF2DYQHQVQCVJILDMTTAHU2DANCNFSM4FWCQVAA.

focussing avatar Feb 22 '21 17:02 focussing

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.

Gyunbie avatar Apr 16 '22 12:04 Gyunbie