Home » Javascript » Firefox opens image when using drag and drop

Firefox opens image when using drag and drop

Posted by: admin November 1, 2017 Leave a comment


Noob here.

If you check this page at http://scotthornweb.com/diagrammer/index.html and go through the first two screens youll see a canvas with some images on the left and buttons on the right. You can drag and drop the images onto the canvas to draw some lines, and the buttons to draw words. Everything works fine in Chrome, but in firefox the images actually open up and you have to click the back button to return. Also, the buttons arent able to be dragged. I tried doing some preventDefaults() to stop it but did not work.

I’ll end up posting some code if need be, but was just wondering if this is a known issue or not???