obsidian-drag-and-drop-blocks icon indicating copy to clipboard operation
obsidian-drag-and-drop-blocks copied to clipboard

When dragging over a non valid drop zone hide the horizontal drop zone line

Open GitMurf opened this issue 4 years ago • 1 comments

On Macs it isn't as clear as windows that you are dropping in an illegal area. It just shows the green + when good and then nothing when in bad area.

image

image

On windows it is much more obvious:

image

ohhhh yep! that must be a Mac thing. I have a clear Red circle warning showing you its not a legal drop area. I think I can help with this by hiding the purple line when you are not on a valid drop location... would that help make it clearer?

GitMurf avatar Oct 20 '21 17:10 GitMurf

Make sure to do this with CSS by adding a class something like "invalid-drop" or something. By default I will probably make it transparent so the line goes away but other users may want to color it something like Red which this would allow them to do.

GitMurf avatar Oct 20 '21 17:10 GitMurf