SortableJS/Sortable

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

MikeAlhayek opened this issue · 0 comments

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:

2024-10-15_21h43_47.mp4

To replicate the issue, follow these steps:

  • Create a long list of items.
  • Configure the following options:
    • scrollSensitivity: 150
    • scrollSpeed: 100
    • animation: 150
      (Note: It’s unclear if these settings directly contribute to the issue.)
  • Attempt to drag an item to the very bottom of the list.

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 OrchardCMS/OrchardCore#16890