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

What are exactly the limitations of this library? #36

Closed
crussman opened this issue Jul 6, 2020 · 2 comments
Closed

What are exactly the limitations of this library? #36

crussman opened this issue Jul 6, 2020 · 2 comments

Comments

@crussman
Copy link

crussman commented Jul 6, 2020

Greetings!

First of all, it's not precisely an issue, but I wanted to clear some doubts respecting to the first advertisement of the repo:

!This library is suitable if you need to make a small set of items draggable. It is not suitable to for large lists

I'm creating a map for a game in WebAssembly which basically is a background image, grids drew over it, and a div for every grid that will contain a single image which can be dragged over other grids, though a grid can't contain more than one image, but, due the grid numbers goes from 600 to 10.000, I want to know if it'll be a bad idea to use this library as the basis for the drag & drop operations...

Thanks in advance!

@Postlagerkarte
Copy link
Owner

HI @crussman ,

I think you will run into performance problems. You can read #29 for details . However, it should be easy to try it out because the code you have to add / remove to apply drag and drop should be minimal.

@crussman
Copy link
Author

crussman commented Jul 6, 2020

Hey @Postlagerkarte

Thanks for your quick response!

I'll read about it

Regards!

@crussman crussman closed this as completed Jul 6, 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