Skip to content
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

Fully visible slides #6773

Closed
3 of 4 tasks
Craigy- opened this issue Jun 22, 2023 · 3 comments
Closed
3 of 4 tasks

Fully visible slides #6773

Craigy- opened this issue Jun 22, 2023 · 3 comments

Comments

@Craigy-
Copy link

Craigy- commented Jun 22, 2023

Clear and concise description of the problem

If I use the 'watchSlidesProgress' option - swiper adds a class 'swiper-slide-visible' to the visible slides.
But it works if slide is visible at least for 1 pixel.

For me it will be very useful to get slide if it is fully visible - for its entire width or height.

Suggested solution

Add something like a new class 'swiper-slide-fullyvisible'.

Alternative

No response

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • I'm willing to open a PR
@lleeeuuuuanchik
Copy link

@evgenyshev
Copy link

This feature is very necessary!

nolimits4web added a commit that referenced this issue Sep 29, 2023
@Craigy- Craigy- closed this as completed Sep 29, 2023
@Craigy-
Copy link
Author

Craigy- commented Sep 29, 2023

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants