Skip to content

Dragging will endlessly scroll/too fast. #1576

@bcbuddy

Description

@bcbuddy

Subject of the issue

First and most critical for me, you can drag an item infinitely down the page.

Secondly, it seems that with the new HTML5 DD update, the "scroll" property in dragInOptions is always set as "true" and we have no control over it.

Finally, the speed in which an item drags is incredibly fast. It would be nice to have some control over it.

Issues 1 & 3 combined can be very annoying together.

Your environment

3.1.4 with HTML5 DD

Steps to reproduce

Use your advance demo: https://gridstackjs.com/demo/web2.html
Grab an item in the grid, drag it to the bottom of the page.
Note how fast it moves and that it will drag forever. This is a real pain when a user needs to drag something around at the bottom of a grid container.

Expected behavior

Most importantly, I would like the infinite dragging fixed. An item should not be dragged past the bottom of the page(or it's container if specified? I know you guys noted that containment is not supported yet with HTML5 - hopefully soon!).
I would like the option to enable/disable scrolling.
I would also like the option to increase/decrease sensitivity of the drag

Actual behavior

Items can be dragged forever down the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions