vue3-carousel icon indicating copy to clipboard operation
vue3-carousel copied to clipboard

Excessive dragging into whitespace

Open JackEdwardLyons opened this issue 2 years ago • 0 comments

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.

JackEdwardLyons avatar May 04 '23 03:05 JackEdwardLyons