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

[Question] drag and drop #4382

Closed
Whooolia opened this issue Nov 9, 2020 · 1 comment
Closed

[Question] drag and drop #4382

Whooolia opened this issue Nov 9, 2020 · 1 comment

Comments

@Whooolia
Copy link

Whooolia commented Nov 9, 2020

Screen Shot 2020-11-09 at 6 24 41 PM

^ what the steps option does? without passing steps, it doesn't drag and drop, but with that, it does.

can anyone explain what's the difference, thanks

@yury-s
Copy link
Member

yury-s commented Nov 10, 2020

The steps parameter allows to break the path from start to end point into steps equal intervals and do that many smaller moves. So essentially it is equivalent to steps calls of move() (here is the code that implements it). It's hard to tell how it affects drag-and-drop in your case, we are working on native support for drag-n-drop which is tracked by #1094

@yury-s yury-s closed this as completed Nov 10, 2020
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

2 participants