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

Dragging clones the source element creating a duplicate CSS ID #2093

Closed
vanboom opened this issue Oct 19, 2021 · 0 comments
Closed

Dragging clones the source element creating a duplicate CSS ID #2093

vanboom opened this issue Oct 19, 2021 · 0 comments

Comments

@vanboom
Copy link
Contributor

vanboom commented Oct 19, 2021

When a sortable element is picked up (dragged), the "ghost" element created has the same CSS ID in the DOM as the original element.

To Reproduce
Debugging is required to detect this...

  1. Start gragging an element.
  2. Notice the cloneEl element created within the _onDragStart function will have the same ID as the dragEl.

Expected behavior
A duplicate CSS ID should not be created.

Information
Easy to fix -- will submit a PR.

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

2 participants