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

Option to easily hide a slide without removing it #7811

Open
3 of 4 tasks
ReneReiterer opened this issue Dec 3, 2024 · 2 comments
Open
3 of 4 tasks

Option to easily hide a slide without removing it #7811

ReneReiterer opened this issue Dec 3, 2024 · 2 comments

Comments

@ReneReiterer
Copy link

Clear and concise description of the problem

It would be really nice, if there was an option to hide a slide without having to remove it. For example so that you could have different images for mobile/desktop. Currently if you just set the hidden slides to display: none it will not work.

Suggested solution

Maybe just a simple class that if a slide has it, its ignored by the swiper

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
@Prachiii1301
Copy link

can this issue be assigned to me?

@bluelemonade
Copy link

It would be perfect if you could hide a slide and the carousel would close the empty space with an animation.

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