-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(autoplay): don't run autoplay if swiper is hidden
fixes #5907
- Loading branch information
1 parent
574572c
commit 4f2e30f
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4f2e30f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change caused that in case that swiper is initialized before the element is rendered, autoplay through the params will not work, and a specific command is required when the elemnt rendered. This is a change that breaks existing behavior, and it is not correct to do this as part of a normal update