Closed SidIcarus closed 1 year ago
@SidIcarus
thanks.
@SidIcarus
you can check by isTrusted
event property in Moveable
(0.43.1)
<Moveable
onClick={e => {
if (e.isTrusted) {
selecto.clickTarget(e.inputEvent, e.inputTarget);
}
}}
onClickGroup={e => {
if (e.isTrusted) {
selecto.clickTarget(e.inputEvent, e.moveableTarget);
}
}}
/>
Thank you!
Environments
Description
Use case 1:
toggleContinueSelect
key is pressedshift
is usedUse case 2:
toggleContinueSelect
, if you have elements selected and their parentElement is selectedI've seen your suggestion in #97; enabling
toggleContinueSelectWithoutDeselect
with the same value astoggleContinueSelect
resolves the problems above but then I am unable to deselect elements using that same key.Would you have any suggestions on how to go about resolving the above?
Note: I have resolved the inverse of Use case 2 (parent is first selected then children are attempted to be selected using
toggleContinueSelect
) in the link I provided.