Closed quinn280 closed 1 year ago
Is it possible to only allow selection on the border of the target, and not the center?
My ultimate goal is to have draggable items inside of a resizable box.
My problem right now is that when a user clicks anywhere in the center of the box, it becomes selected.
@quinn280
Try making selectableTargets the box's selector.
selectableTargets={".target.box"}
Let me know if you have any additional specs.
Environments
Description
Is it possible to only allow selection on the border of the target, and not the center?
My ultimate goal is to have draggable items inside of a resizable box.![selecto](https://user-images.githubusercontent.com/54292238/224580024-a9bf4e70-94d2-4564-a924-be547c73053c.gif)
My problem right now is that when a user clicks anywhere in the center of the box, it becomes selected.