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

Delay when dragging across collapsed tree #70

Open
patrick0888 opened this issue May 3, 2019 · 2 comments
Open

Delay when dragging across collapsed tree #70

patrick0888 opened this issue May 3, 2019 · 2 comments

Comments

@patrick0888
Copy link

patrick0888 commented May 3, 2019

Is it possible to add a little delay when dragging across collapsed elements to keep them collapsed?

@phphe
Copy link
Owner

phphe commented May 4, 2019

there are several actions at https://github.com/phphe/vue-draggable-nested-tree/blob/master/src/components/autoMoveDragPlaceHolder.js#L11
In this case, you can overwrite it with setTimeout if the target is collapsed and has children.

@kaipaysen
Copy link

I'd love that feature as well.
@patrick0888 did you manage to get this feature working? would you mind sharing your results?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants