question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug when switching carousel item, shows two slides instead of one

See original GitHub issue

If you frequently press the slide switch buttons, two items appear instead of one. Here is a screen: bug1 If I inspect this item, we’ll see: bug2 You can see that bootstrap adds two active classes, although initially this class is set only for the first record. He does not seem to have time to remove it from the previous slide. And why in the visible, the item is added two row, although there must be one.

I repeat, this bug occurs if you switch slides too often. Seen on all browsers. Is it a bootstrap bug or am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
FlexIDKcommented, Feb 15, 2019

I’m repeat this “bug” with jquery 1.7.1 (very old lib). In 1.12.x, 1.9.x, 3.x - can’t repeat.

0reactions
ghazaleheravicommented, May 13, 2022

I have this problem too, I was looking for the reason and got here, did you find a reason?

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Bootstrap Image Carousel is sort of sliding twice for each ...
Same bug on the latest version of bootstrap... The content slide twice. My workaround is to use a custom slide-fade affect explained here: ......
Read more >
slick - the last carousel you'll ever need - Ken Wheeler
slick is a responsive carousel jQuery plugin that supports multiple breakpoints, CSS3 transitions, touch events/swiping & much more!
Read more >
Bootstrap Carousel problem - HTML & CSS - SitePoint
The problem seems to be that your first slide is taller than the body and creates a vertical scrollbar and thus when you...
Read more >
Carousel · Bootstrap v4.6
The .active class needs to be added to one of the slides otherwise the carousel will not be visible. Also be sure to...
Read more >
Auto-Rotating Image Carousel Example with Buttons for Slide ...
One of the view options provides an example of this technique. Screen Reader Announcement of Slide Changes. When automatic rotation is turned off,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found