bootstrap
bootstrap copied to clipboard
Conflict on item divs using nested carousel
When using nested carousel (a parent and a child), the child's items make the parent carousel bug when sliding. I checked out the source code, maybe it would be better to look for the .item classes into the carousel-inner container calling from the javascript next/prev methods without parsing the potentially new carousels children (it's actually just a simple find() which get every .item).
Nested carousels are not supported, per #4359.
var $active = this.$element.find(' > .carousel-inner > .item.active') will solve the problem and we will use nested carousels