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

Add configurable slide threshold for smoother touch interactions #480

Open
romain-lgr opened this issue Feb 10, 2025 · 0 comments
Open

Add configurable slide threshold for smoother touch interactions #480

romain-lgr opened this issue Feb 10, 2025 · 0 comments
Labels
🌟 feature request New feature or request

Comments

@romain-lgr
Copy link

Thanks for creating this plugin!

Issue Description
When using the slider functionality, users need to drag more than 50% of the slide's width to trigger a transition to the next slide. This creates significant friction in the user experience, especially on mobile devices where quick, short swipes are more natural.

Proposed Solution
It would be helpful to have a configurable threshold option that allows developers to customize how far users need to slide before triggering the transition.

Example configuration:

{
  threshold: 0.3 // Trigger slide after 30% movement
}
@ismail9k ismail9k added the 🌟 feature request New feature or request label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants