Closed na2793 closed 2 years ago
@na2793
selecto
1.16.0react-selecto
1.16.0preact-selecto
1.16.0ngx-selecto
1.16.0svelte-selecto
1.16.0vue-selecto
1.16.0vue3-selecto
1.16.0lit-selecto
1.16.0selecto's new version is released.
Use continueSelectWithoutDeselect option with continueSelect. Thank you :)
As always, thank you!
I think continueSelectWithoutDeselect
is always considered false.
It seems to be overridden in the Selecto class' constructor because it wasn't passed in.
Please review this issue.
@na2793
That way it probably won't be set to true.
Set continueSelectorWithoutDeselect={true}
I think my lint settings are confusing you. ={true}
is omitted, but it does exist.
Even if I write ={true}
, the result is the same.
https://codesandbox.io/s/naughty-hofstadter-dm877d
This is just a fork from the official example, only adding continueSelectorWithoutDeselect={true}
.
It may be helpful to check this.
@na2793
oh thank you A bug was confirmed. I will release it again tomorrow.
@na2793
Test 1.16.2 version. Thank you :)
It works now. Thank you for your effort!
Environments
Description
I'm trying to prevent the selected item to be deselected when I press shift key and select it again. Is there any way to make this work? Thanks for your time.