swiper icon indicating copy to clipboard operation
swiper copied to clipboard

swiper uses Thumbs, swiper is circular, thumbSwiper is not. When there are only two slides, click thumbSwiper, swiper switches in reverse.

Open guiquanH opened this issue 1 year ago • 0 comments

Check that this is really a bug

  • [X] I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-thumbs-gallery-forked-cykjlj?file=%2Findex.html%3A151%2C26

Bug description

swiper uses Thumbs, swiper is circular, thumbSwiper is not. When there are only two slides, click thumbSwiper, swiper switches in reverse. Click on the switch button of swiper, you can switch normally (right to left); click on thumbSwiper, it will reverse the switch (left to right).

Expected Behavior

No response

Actual Behavior

No response

Swiper version

8.3.2

Platform/Target and Browser Versions

macOS 13.0 (22A380)

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the docs.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] 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

guiquanH avatar Mar 15 '24 07:03 guiquanH