johnny / johnny/jquery-sortable

Can't get the dragged item follow the mouse position while dragging

Open
#210 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
1.5k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

Here https://johnny.github.io/jquery-sortable/#docs all examples show the dragged LI following the mouse while dragging. I'm trying to use the code for the "Connected lists with drop animation" example to get my items follow the mouse but it doesn't work.

The weird thing is that I see the item while dragging on all your examples, but the only one that has code to do that is the one mentioned above. So that behavior might be implemented somewhere else.

Can you tell me how to show the dragged item while dragging? (this is a requirement on the apps I'm building). Thanks!

BTW, my container is a div, and my draggable items are also divs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.