Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Carousel doesn't stop dragging when releasing the button outside of the container #171

@pierzchalatomasz

Description

@pierzchalatomasz

Issuehunt badges

Describe the bug
Carousel doesn't stop dragging when mouseup event is triggered outside of carousel container.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://brainhubeu.github.io/react-carousel/docs/examples/simpleUsage
  2. Start dragging the carousel
  3. While still pressing the button move the cursor outside of carousel container
  4. Release the button
  5. Notice carousel is still dragging while you're not pressing the button

Expected behavior
Carousel should stop dragging when releasing the button (no matter if it's in the container or not).

Screenshots
ezgif com-video-to-gif

Desktop (please complete the following information):

  • OS: [macOS 10.14.6]
  • Browser [Chrome]
  • Version [79.0.3945.88]

IssueHunt Summary

sinchang sinchang has been rewarded.

Backers (Total: $5.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions