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

Flickering and buggy behavior when resistance is on on Vertical slider. #7688

Open
5 of 6 tasks
vitpankin opened this issue Aug 17, 2024 · 1 comment
Open
5 of 6 tasks

Comments

@vitpankin
Copy link

vitpankin commented Aug 17, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-vertical-resistance-bug-lfy6dd

Bug description

I basically added

resistance: true,
resistanceRatio: 10

to Swiper at your Vertical demo, and bad trip discopunk started immediately. First slide only flickers\disappears when pulling up - it's buggy and meh but okay. Last one scrolls all the slider from the first one to the last when pulling down - that is a big one.

I found it on React in the first place but then checked core and it's there.

Expected Behavior

I expected it to stop on the first and last slide with no visual flickering and phantom scrolls.

Actual Behavior

First slide only flickers, buggy and meh but okay. Last one scrolls all the slider from the first one to the last - that is a big one.

Swiper version

10.0.0

Platform/Target and Browser Versions

macOS Chrome Version 127.0.6533.100 (Official Build) (arm64)

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
@vitpankin
Copy link
Author

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

1 participant