Slide [3, 4], [5, 6] should be grouped together but slide 3, 4, 5 and 6 aren't grouped with any other slide.
Expected behavior
When slide spacings are set with the CSS gap property or margin properties, slidesToScroll: 'auto' should group slides correctly. In the sandbox example, slides should be grouped as follows: [1, 2], [3, 4], [5, 6], [7, 8].
Bug is related to
Embla Carousel version
Describe the bug
gap
ormargin
property,slidesToScroll: 'auto'
fails to group slides automatically based on their size.CodeSandbox
Steps to reproduce
Expected behavior
gap
property ormargin
properties,slidesToScroll: 'auto'
should group slides correctly. In the sandbox example, slides should be grouped as follows: [1, 2], [3, 4], [5, 6], [7, 8].