DragSelect icon indicating copy to clipboard operation
DragSelect copied to clipboard

Doesn't work with large number of divs.

Open Devleed opened this issue 2 years ago • 1 comments

Description I'm trying to make a grid of 238*238 divs, and I want them to be selectable. But it only works for the starting divs and lags alot in the middle and it doesn't work in the end.

To Reproduce Steps to reproduce the behavior:

  1. Draw 238*238 divs
  2. Make them selectable
  3. Try to select divs in the end
  4. Face the issue

Expected behavior Should select the divs.

Devleed avatar Apr 30 '22 07:04 Devleed

Hello Devleed. Thanks a lot for using the tool <3. We currently support up to 15.000 Nodes perfectly and 30.000 Nodes with slight lag. Your example has 56.644 nodes. It is planned to support more but given how Javascript and the DOM works it's not Straight forward and might take some time. If you have knowledge in that area feel free to contribute. Or support the Tool. Thank you :)

PS: if they are not all rendered in the view you could think about lazy loading and adding/removing programmatically

ThibaultJanBeyer avatar Apr 30 '22 08:04 ThibaultJanBeyer

I'll close the issue for now but it is in the backlog. In case someone else is reading this, please let me know by giving +1 so I'll push it up in prio

ThibaultJanBeyer avatar Feb 27 '24 08:02 ThibaultJanBeyer