Khan / structured-blocks

MIT License
11 stars 2 forks source link

Drag placeholder can be misleading #21

Closed jbrennan closed 9 years ago

jbrennan commented 10 years ago

When we drag a block that’s already in the editor, we show a drag placeholder for where the block will go. But if we drag the block back over the toolbox, we’re getting ready to delete that block. If you drop the block over the toolbox, we delete the block. This is good.

However, when hovering the block over the toolbox, we still show the drop placeholder in the editor. It looks like dropping it will put it back in the editor, but in fact we delete it. So, we shouldn’t show the placeholder in the editor when hovering over the toolbox.

jeresig commented 9 years ago

This is a bit related to #6, will probably want to do both at the same time.