vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Feature Request] Carousel - multiple items per slide

Open jameshhood opened this issue 9 years ago • 9 comments

Versions

Vue 2.4.2 - Vuetify 0.15.2

What is expected ?

  • ability to add multiple items per slide
  • ability to slide multiple items

What is actually happening ?

Currently the carousel is very basic and really only allows you to change the icons inside of it.

Reproduction Link

Current Carousel https://vuetifyjs.com/components/carousels

Link to another framework carousel http://element.eleme.io/#/en-US/component/carousel

What will it allow you to do that you can't do today?

control how many items the previous/next actions do

How will it make current work-arounds straightforward?

Well there are no examples of doing any of this on the main site so I'm not even sure there are work arounds for this.

What potential bugs and edge cases does it help to avoid?

gesture and event based bugs for sure and css related bugs trying to hide certain elements to the existing carousel

I'm not really sure what other information you may need so please let me know if there is anything you'd like more input on. I originally removed the bottom part of the boilerplate for the ticket because the directions for feature requests were a little hazy.

jameshhood avatar Sep 25 '17 21:09 jameshhood

Breakout from #1617

jameshhood avatar Sep 25 '17 21:09 jameshhood

I'm revisiting this now with #6924 . Could you elaborate a bit more what features specifically?

johnleider avatar Apr 05 '19 01:04 johnleider

Can I suggest these as options? mulitple

blalan05 avatar Apr 05 '19 02:04 blalan05

It's been a while since I've wrote this up but the premise was to be able to provide a template for a "slide" whether that meant a single item or a container of items. Amazon and many other e-commerce sites have components like this for tabbing through items. Some operate by arrows, others by scrolling... There's plenty of creative ways of handling styles here but the core desire is to be able to capture the functionality of a carousel and apply it to groups of items at the same time rather than just a single item.

jameshhood avatar Apr 05 '19 05:04 jameshhood

Other UI frameworks typically allow you to pass the component the collection of items, how many items to display per slide, and how many items to move when moving forward or backwards. That way you can have 5 items shown but move 1 item or 5 if you want to.

jameshhood avatar Apr 05 '19 05:04 jameshhood

Can I suggest perhaps creating a new component in Vuetify called "scroller" or "swiper" that implements the same kind of logic as https://idangero.us/swiper/ or https://pawelgrzybek.github.io/siema/

tigerclaw-az avatar May 12 '19 05:05 tigerclaw-az

Thank you for the Feature Request and interest in improving Vuetify. Unfortunately this is not functionality that we are looking to implement at this time.

If you have any additional questions, please reach out to us in our Discord community.

johnleider avatar Jun 02 '19 22:06 johnleider

For anyone looking to implement this kind of slider, it shouldn't be too complicated to build your own. Here's an example (not by me) that does the basics: https://codepen.io/wa23/pen/pObyrq

mattgreenfield avatar Jun 25 '19 07:06 mattgreenfield

Found this https://github.com/ssense/vue-carousel

Gigabiter avatar Sep 02 '19 07:09 Gigabiter