-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Right now, if you try to move a node out of a plate, the plate automatically resizes to follow it. The node only gets removed if you drop it outside the plate's original area. We have some visual cues for this: the node's background becomes red when it's far enough away to be removed (the outThreshold is 30px), and a plate's border turns yellow when you can drop a node into it.
I added this behavior as a feature, but is it weird? It kind of feels like the plate visually fights you when you're trying to remove a node. 😅
One better way to do this as @nsiccha suggested, might be to lock the plate's size as soon as you start dragging. The plate wouldn't resize at all while you're moving the node. Once you drop it, the plate would then correctly resize to fit its remaining children.
What do you think? Which way feels more natural? Should the plate resize as you drag, or should it lock in place?