In my scenario sometimes I need to select only one element - which makes lasso unnecessary. I was struggling to work around it with the options provided but looking at the source I realised I can pass lasso: false (despite what the docs say) as a prop which prevents it from rendering.
From what I see it works as expected (no lasso but elements can be selected by clicking) but I'm not sure if passing falsy values was intended - if so, maybe it should be mentioned in the docs?
Hi, first of all - great library!
In my scenario sometimes I need to select only one element - which makes lasso unnecessary. I was struggling to work around it with the options provided but looking at the source I realised I can pass
lasso: false
(despite what the docs say) as a prop which prevents it from rendering.From what I see it works as expected (no lasso but elements can be selected by clicking) but I'm not sure if passing falsy values was intended - if so, maybe it should be mentioned in the docs?
Cheers!