Closed davidjerleke closed 2 years ago
It's cumbersome for users to set different slidesToScroll values for different breakpoints.
New option value: slidesToScroll: 'auto' - Embla will automatically group slides for you depending on how many slides fit within the viewport.
'auto'
const options = { slidesToScroll: 'auto' } const embla = EmblaCarousel(emblaNode, options)
Released with v7.
Feature request is related to
Is your feature request related to an issue?
It's cumbersome for users to set different slidesToScroll values for different breakpoints.
Describe the solution you'd like
New option value: slidesToScroll:
'auto'
- Embla will automatically group slides for you depending on how many slides fit within the viewport.