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

Prevent drag on first or last slide #151

Open
iforcode opened this issue Jul 14, 2021 · 0 comments
Open

Prevent drag on first or last slide #151

iforcode opened this issue Jul 14, 2021 · 0 comments

Comments

@iforcode
Copy link

iforcode commented Jul 14, 2021

I config my slides like
<vueper-slides :infinite="false" :dragging-distance="70" :disable-arrows-on-edges="true">
It's good but I think vueper-slides has option to prevent drag to right on first slide and drag to left on last slide thanks.
This is my example https://codepen.io/iforcode/pen/RwVKqgZ
And when I drag to right on first slide, it still dragging and you will see a large white space, how to prevent that thank.

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