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

centeredSlides with centeredSlidesBounds don't work correct with slidesPerView: 'auto' #7697

Closed
6 tasks done
AzA-95 opened this issue Aug 22, 2024 · 0 comments
Closed
6 tasks done

Comments

@AzA-95
Copy link
Contributor

AzA-95 commented Aug 22, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://jsfiddle.net/pbL17azg/

Bug description

When width of the .swiper bigger then of the width of slides, slider works incorect and allow slide(although it shouldn't slide).
Try run demo and resize window to breakpoin to 800px or bigger and click to (Slide arrow !Sometimes click in the slide arrow works only in doubly click!) to reproduce bug
Added video of bug for visuality
https://github.com/user-attachments/assets/51f3ebe8-0919-4952-a98e-1378e4167316

PR here #7696

Expected Behavior

it shouldn't slide if width of the .swiper bigger then of the width of slides

Actual Behavior

it slides

Swiper version

11.1.10

Platform/Target and Browser Versions

Linux Mint 21.2 / Browser Chrome 124.0.6367.78

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.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants