Skip to content

Add "cypress-dragndrop-kit" to list of plugins #6207

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

Merged

Conversation

vergjor
Copy link
Contributor

@vergjor vergjor commented Jun 14, 2025

Hi all 👋

Since we were faced with difficulties during our test implementation for a drag and drop related functionality, and after a lot of effort, we managed to find a solution that I thought would be great to share with the community. This plugin is especially useful when faced with problems such as:

  • Trying to scroll an item within a virtual list where not all of the items are visible without scrolling
  • React applications which use react-beautiful-dnd or similar packages which do not always pick up on mouse events (even though this package also implements a solution with mouse events, it does offer a way to consistently trigger the drag and drop functionality)

The plugin is made with an MIT license and offers two commands:

  • dragTo(targetElementLocator): Custom child command for dragging and dropping a chained element to a specified element location
  • dragAndDrop(sourceElementLocator, targetElementLocator): Custom command for dragging and dropping from one element location to another

Copy link

netlify bot commented Jun 14, 2025

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit ee4ceb2

@CLAassistant
Copy link

CLAassistant commented Jun 14, 2025

CLA assistant check
All committers have signed the CLA.

@cypress-app-bot
Copy link
Collaborator

@vergjor vergjor marked this pull request as draft June 14, 2025 15:02
@vergjor vergjor marked this pull request as ready for review June 14, 2025 15:03
Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@jennifer-shehane jennifer-shehane merged commit 3ce0770 into cypress-io:main Jun 16, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

4 participants