ElementalCode / elemental

A drag and drop block-based coding environment for front-end web technologies.
http://elementalcode.herokuapp.com
35 stars 10 forks source link

Dragging blocks highlights text #232

Closed mrjacobbloom closed 8 years ago

mrjacobbloom commented 8 years ago

I thought there was already an issue for this but I can't find it... Anyway, dragging blocks (especially out of the blocks area) selects text and makes things scroll and a whole bunch of other badness. It's kinda annoying

It may be as simple as setting a CSS property on the blocks area: http://stackoverflow.com/questions/6900124/how-to-make-certain-text-not-selectable-with-css

mrjacobbloom commented 8 years ago

that or a preventDefault on a mouseDown event somewhere