-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
After setting on pause and clicking on arrows navigation, the cycle restart Carousel #3188
Comments
Hmm, looks like it's actually is a bug... Currently pressing keyboard ArrowRight/Left or clicking on the navigation arrows / indicators restarts the interval. We should probably set a Anyway the workaround for you would be to reset the interval to |
Thanks for the workaround :) |
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "pause" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "pause" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "pause" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "pause" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
…lled After setting the carousel on pause through its pause() method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the cycle() method is needed to undo the effect of the pause() method. When pauseOnHover is true, hovering on the carousel no longer uses the pause() and cycle() methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". The "paused" boolean status is now also included in the slide event. Closes ng-bootstrap#3188
…lled (#3225) After setting the carousel on pause through its `pause()` method and clicking on navigation arrows, the carousel no longer automatically restarts. Calling the `cycle()` method is needed to undo the effect of the `pause()` method. When `pauseOnHover` is true, hovering on the carousel no longer uses the `pause()` and `cycle()` methods. The hover status is stored separately, so that calling pause() and removing the mouse from the carousel no longer restarts it automatically. In order for the user to have more control, we also introduce: + The slide event now has a "source" property allowing to know what triggered the event: "timer", "arrowLeft", "arrowRight" or "indicator". + The "paused" boolean status is now also included in the slide event. Closes #3188
Hello guys,
I created and defined a function to set on pause or play the carousel.
When setting on pause and clicking on one of the arrows navigation, the cycle restated by it own.
Link to minimally-working StackBlitz that reproduces the issue:
Here is a link to a demo, i fork one of your demo.
Versions of Angular, ng-bootstrap and Bootstrap:
Angular: 7.0.0
ng-bootstrap: 4.1.2
Bootstrap: 4.2.3
The text was updated successfully, but these errors were encountered: