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

Excessive dragging into whitespace #307

Closed
JackEdwardLyons opened this issue May 4, 2023 · 0 comments
Closed

Excessive dragging into whitespace #307

JackEdwardLyons opened this issue May 4, 2023 · 0 comments
Labels
🌟 feature request New feature or request

Comments

@JackEdwardLyons
Copy link

JackEdwardLyons commented May 4, 2023

Describe the bug
When you are swiping, or dragging a carousel on the last item in the collection, the carousel can be dragged beyond it's parameters causing excessive whitespace. This can be seen on the examples page for any carousel that does not use wrapAround.

To Reproduce

  1. Go to the examples page at https://ismail9k.github.io/vue3-carousel/examples.html#basic-example
  2. You should be looking at the Basic Example
  3. If on desktop, drag the first slide left (swipe and hold on mobile)
  4. Observe, the carousel is dragged to the right causing excessive whitespace to be visible.

Expected behavior
No dragging to the left should be allowed on the first carousel slide. No dragging to the right should be allowed on the last carousel slide.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • All browsers

Smartphone (please complete the following information):

  • All browsers

Additional context
Add any other context about the problem here.

@ismail9k ismail9k added the 🌟 feature request New feature or request label May 15, 2023
aovcina added a commit to aovcina/vue3-carousel that referenced this issue Jan 3, 2025
aovcina added a commit to aovcina/vue3-carousel that referenced this issue Jan 3, 2025
aovcina added a commit to aovcina/vue3-carousel that referenced this issue Jan 3, 2025
@ismail9k ismail9k closed this as completed Jan 6, 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