Unselecting the last element doesn't trigger move
and stop
#238
Labels
unconfirmed
Problem is not confirmed yet
move
and stop
#238
What is the problem?
Clicking on an element to select it and then clicking again to unselect it doesn't trigger the events
move
andstop
events.it can be fixed by removing the
if
selection/packages/vanilla/src/index.ts
Lines 805 to 807 in bee9f2f
Please provide the steps to reproduce and create a CodeSandbox.
https://codesandbox.io/p/sandbox/ynjtdj
Also, check the
console.log
Check the events were NOT triggered.
What is the expected behavior?
It should trigger the
move
andstop
events andstop
should contain the rightstored
data so we can trust it.The text was updated successfully, but these errors were encountered: