-
-
Notifications
You must be signed in to change notification settings - Fork 79k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel data-interval is always 5000 on first item #31716
Comments
Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and operating system details. This is a saved reply. |
@mdo The demo is in the documentation https://getbootstrap.com/docs/4.3/components/carousel/#individual-carousel-item-interval . Do you want me to copy and paste the code in codepen? Bootstrap version from 4.2.1 to latest, chrome version: 85.0.4183.102 (Official Build) (64-bit). OS: MacOS Catalina 10.15.6 |
Ah sorry, yes, confirming this is the case in the latest docs: https://getbootstrap.com/docs/4.5/components/carousel/#individual-carousel-item-interval. Also affects v5's docs. /cc @Johann-S |
Hi, I'm unable to reproduce it, I made a CodePen which demonstrate we follow the First slide: 9.399s You can see my CodePen here: https://codepen.io/Johann-S/pen/zYqeNNO?editors=1010 |
Based on that codepen, It looks like it only affects the first slide done. I'm also not getting a So in this case it's
Tested in Chrome 85, Windows 10. |
indeed nice catch @Hiws 👍 if you want to submit a PR do not hesitate 😉 |
@ValGeorgiev @XhmikosR @Johann-S @Hiws Is anyone working on this now? If not, I would like to try. |
@ashikvarma11 feel free to do it, thanks |
interval not working properly it always delays for 1 to 2 seconds. |
Hi all, I implemented a carousel using bootstrap carousel component. Everything were working fine until I tried to delay the first item with more than 5 seconds. It looks like bootstrap is ignoring
data-interval="10000"
attribute to the element. I checked it in the documentation and it's not working on the demo there as well. First item is delayed only 5 seconds, instead of 10seconds. Every other item is respecting the data-interval attribute. Can you suggest some workaround or am I missing something?Link to the documentation: https://getbootstrap.com/docs/4.3/components/carousel/#individual-carousel-item-interval
MacOS - Chrome
The text was updated successfully, but these errors were encountered: