bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Conflict on item divs using nested carousel

Open ludoblues opened this issue 13 years ago • 2 comments

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).

ludoblues avatar Apr 30 '13 07:04 ludoblues

Nested carousels are not supported, per #4359.

cvrebert avatar Apr 30 '13 07:04 cvrebert

var $active = this.$element.find(' > .carousel-inner > .item.active') will solve the problem and we will use nested carousels

vikramjeetsingh41 avatar Nov 19 '13 09:11 vikramjeetsingh41