-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Make slidesPerViewDynamic Public #7036
Closed
3 of 4 tasks
txm3278 opened this issue
Sep 15, 2023
· 1 comment
· May be fixed by abhishekbedi/framework7#1, Aarod23/nys-site#1 or wierza/Team-project#148
Closed
3 of 4 tasks
Make slidesPerViewDynamic Public #7036
txm3278 opened this issue
Sep 15, 2023
· 1 comment
· May be fixed by abhishekbedi/framework7#1, Aarod23/nys-site#1 or wierza/Team-project#148
Labels
Comments
As a side note, it seems like watchSlidesProgress and slidesPerGroupAuto calculate which slides are currently visible differently. I prefer the way slidesPerGroupAuto does it in this case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clear and concise description of the problem
As a develop using Swiper I want to be able to programmatically slide to the group of a selected slide. For example, if the selected slide is the third slide and is currently visible, there should be no sliding. If the selected slide is the seventh slide and is not visible or is only partially visible, the swiper should be able to slide to the group that the slide is in. When using slidePerView "auto" and slidesPerGroupAuto, there is no current way to find out how many slides are in a group.
Suggested solution
Make slidesPerViewDynamic public so developers can see how many slides are in a group and can navigate accordingly.
Alternative
An option like initialSlide, that makes the group of the selectedSlide visible.
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: