cybersemics / em

A beautiful, minimalistic note-taking app for personal sensemaking.
Other
280 stars 104 forks source link

Extend droppable area when there is empty space below a thought #1386

Open raineorshine opened 3 years ago

raineorshine commented 3 years ago

If there is empty space below a thought, extend the droppable area of the drop target to make it easier to drop where desired.

Steps to Reproduce

- a
  - b
    - c
    - d
- x
  1. Set the cursor on d
  2. Drag c and drop it below d

Current Behavior

There is a very small amount of space differentiating the x, a, and b drop targets, making it hard to choose the correct one.

image

Expected Behavior

We should take advantage of the empty space and increase the size of the drop targets at the bottom of the visible thoughts.

There can only be one child (d) and one sibling (b), but many cliff drop targets (x and a).

Image 6-20-24 at 1 11 PM

Zubair286 commented 1 week ago

Let me confirm, we need to increase the height of DropEnd relative to the depth starting from deepest like band d, do I understand this right?

raineorshine commented 1 week ago

I'm not sure exactly if it's DropEnd, but yes, the height of the drop targets at the cliff should be increased relative to depth.