When Embla falls back to loop: false
it replaces the user provided loop option
#414
Closed
1 task done
Bug is related to
Embla Carousel version
Describe the bug
loop: false
.reInit()
.loop: false
, Embla replaces the user provided loop option which wasloop: true
.reInit()
call without the options parameter will be withloop: false
.loop: true
after falling back toloop: false
, which happens when when slide content isn’t enough for the loop effect to work.reInit()
is called, Embla should tryloop: true
again.Expected behavior
loop: false
.Additional context
Thanks @pReya for reporting this bug. Discussed in:
The text was updated successfully, but these errors were encountered: