daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
https://daybrush.com/selecto
MIT License
2.04k stars 82 forks source link

Selecto works slowly for large amount of data #81

Closed robz95 closed 2 years ago

robz95 commented 2 years ago

Environments

Description

Hello,

I need to add feature to select table cells in a table which contains a lot of records, usually ~12 000 (e.g. 120 columns, 100 rows). I tried using your package, it works correctly, but it is not fast enough for this amount of data. I prepared sample sandbox which I linked above. It contains table, where you can select cells in the table body.

Do you know of any way to optimize the solution and to make it faster, so that it works smoothly for this amount of data?

daybrush commented 2 years ago

@robz95

okay. I'll check it.

daybrush commented 2 years ago

@robz95

seelcto's new version is released. Check it again.

robz95 commented 2 years ago

@daybrush Thanks for the fix, now the package is a lot faster. For my usecase it is perfect now :)