Bug when switching carousel item, shows two slides instead of one
See original GitHub issueIf you frequently press the slide switch buttons, two items appear instead of one. Here is a screen:
If I inspect this item, we’ll see:
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:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
I have this problem too, I was looking for the reason and got here, did you find a reason?