Answer the question
In order to leave comments, you need to log in
How to fix switching .active and .show classes in Bootstrap?
Good afternoon.
Please help me fix the problem with switching the list https://jsfiddle.net/kadikey58/48ky2m0n/
As you can see, when switching tabs, the .active and .show classes are added, but not removed from the active ones.
But as soon as you pull these tabs out of the carousel, it immediately works as it should.
Answer the question
In order to leave comments, you need to log in
The answer turned out to be simple - it's better to swap the carousel and tabs. That is, make two .list-tab.list-group blocks inside each .carousel-item
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question