Topic: Carousel issue
Geoffrey free asked 6 years ago
Hello,
I have an issue with the carousel, sometimes, when i click "next" this didn't work, I have to click "previous" then next.
i find the issue in angular-bootstrap-md.es5.js>CarouselComponent.prototype.findNextSlideIndex
Sometimes this._currentActiveSlide is "undefined" so the function return "NaN" and that didn't work. I fixed the issue by adding this:
this._currentActiveSlide = this._currentActiveSlide ? this._currentActiveSlide : 0;
So is it possible to fix it please, because that not good to touch node-modules.
Add comment
Arkadiusz Idzikowski staff answered 6 years ago
Dear Geoffrey,
Thanks for letting us know, we will take a look at this problem.
Regards,
Arek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags