With Alpha 6
With wide carousels, hitting previous/next while the carousel is still sliding raises an error:
Uncaught Error: Carousel is sliding
at Carousel.next (bootstrap.js:632)
at HTMLDivElement.
at Function.each (jquery-3.1.1.slim.min.js:2)
at r.fn.init.each (jquery-3.1.1.slim.min.js:2)
at r.fn.init._jQueryInterface [as carousel] (bootstrap.js:899)
at HTMLAnchorElement._dataApiClickHandler (bootstrap.js:948)
at HTMLDocument.dispatch (jquery-3.1.1.slim.min.js:3)
at HTMLDocument.q.handle (jquery-3.1.1.slim.min.js:3)
next @ bootstrap.js:632
(anonymous) @ bootstrap.js:920
each @ jquery-3.1.1.slim.min.js:2
each @ jquery-3.1.1.slim.min.js:2
_jQueryInterface @ bootstrap.js:899
_dataApiClickHandler @ bootstrap.js:948
dispatch @ jquery-3.1.1.slim.min.js:3
q.handle @ jquery-3.1.1.slim.min.js:3
This is the same issue as #21727
This issue still exist.
When double click on carousel arrow.
Uncaught Error: Carousel is sliding
at h.next (bootstrap.min.js:6)
at HTMLDivElement.<anonymous> (bootstrap.min.js:6)
at Function.each (jquery-3.1.1.slim.min.js:2)
at r.fn.init.each (jquery-3.1.1.slim.min.js:2)
at r.fn.init.h._jQueryInterface [as carousel] (bootstrap.min.js:6)
at HTMLAnchorElement.h._dataApiClickHandler (bootstrap.min.js:6)
at HTMLDocument.dispatch (jquery-3.1.1.slim.min.js:3)
at HTMLDocument.q.handle (jquery-3.1.1.slim.min.js:3)
Just got same issue. Seems it happens if you press next slide and the sliding is in progress. Using version: 4.0.0-alpha.6.
Hi! Any solution on how to prevent this error? It's causing the page to move down (apart from showing the error in the console of the browser).
@aledelsur yep update to our latest release (v4.2.1) or at least v4.0.0 stable
Most helpful comment
Just got same issue. Seems it happens if you press next slide and the sliding is in progress. Using version: 4.0.0-alpha.6.