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

Browser auto scroll does not work #98

Open
crooksey opened this issue Jun 14, 2018 · 1 comment
Open

Browser auto scroll does not work #98

crooksey opened this issue Jun 14, 2018 · 1 comment

Comments

@crooksey
Copy link

crooksey commented Jun 14, 2018

I'm submitting a ... (check one with "x")

[ X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Sorry, we will not be able to answer every support request.  Please consider other venues for support requests

Current behavior
Lets say you have a large data set, that is is bigger than one screen. If you drag an item, and move it to the bottom of the page, the page does not auto scroll down, like nearly every other drag library. However, if you start dragging something, you can use a mouse wheel to scroll the page down to drop the item where you desire. I am not sure if this is what has been mentioned in #26 but it doesn't seem clear that this is the exact problem/cause of the issue.

Expected behavior
Moving a draggable item to the edge of a screen space, should auto move the screen in the direction in which you are dragging to show and expand the area you want to drag to.

Reproduction of the problem
https://stackblitz.com/edit/angular-llmtxt

What is the motivation / use case for changing the behavior?
Improved functionality with large UI's where items need to be dragged to a area of the screen that may not be visible in the current view.

  • ngx-dnd version: 4.0.2
  • Angular version: 6.0.1
@Hypercubed
Copy link
Contributor

This is not something currently supported by dragula, when we replace (it is planned) we look into this.

@Hypercubed Hypercubed added this to the dump dragula milestone Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants