We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed1060 commit 76500afCopy full SHA for 76500af
src/components/carousel/carousel.js
@@ -269,7 +269,10 @@ export const BCarousel = /*#__PURE__*/ Vue.extend({
269
// Don't change slide while transitioning, wait until transition is done
270
if (this.isSliding) {
271
// Schedule slide after sliding complete
272
- this.$once('sliding-end', () => this.setSlide(slide, direction))
+ this.$once('sliding-end', () => {
273
+ // Wrap in setTimeout to allow the slide to properly finish to avoid glitching
274
+ setTimeout(() => this.setSlide(slide, direction))
275
+ })
276
return
277
}
278
this.direction = direction
0 commit comments