SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.76k stars 3.7k forks source link

[bug] How to eleminate the pause during the scroll? #2404

Open MikeAlhayek opened 1 month ago

MikeAlhayek commented 1 month ago

Describe the bug

When sorting a long list of items, users experience a noticeable pause during scrolling, particularly when dragging an item to the bottom of the list. This issue can significantly impact the user experience, making the scrolling feel sluggish. For a clearer understanding of the problem, please refer to the screen capture linked below:

https://github.com/user-attachments/assets/dca5e02f-c849-4108-a1c9-bec74fcd8c7a

To replicate the issue, follow these steps:

Expected Behavior

Scrolling should be smooth and uninterrupted without any noticeable pauses, allowing for a seamless dragging experience.

Information

Versions - Look in your package.json for this information: sortablejs = ^1.15.3

Additional context This issue is related to https://github.com/OrchardCMS/OrchardCore/pull/16890