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

Memory leak missing `selecto-selection` div elements #120

Open robertsLando opened 1 year ago

robertsLando commented 1 year ago

I have found a leak, every time I create a new selecto instance a div element with selecto-selection and another random class id is always added to body and even the selecto destroy method is not removing it

daybrush commented 1 year ago

@robertsLando

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

robertsLando commented 1 year ago

That fixed the issue, thanks!