Created by: mattjanssen
Not resetting this.sliding = false
before returning from Carousel.slide
causes the carousel to stop working. This is an issue when slide()
is trigger on a one-item carousel, and then a second item is later added but the carousel is stuck in a this.sliding = true
state.