react-hexgrid icon indicating copy to clipboard operation
react-hexgrid copied to clipboard

Drag and Drop not work in Firefox

Open tfMovamo opened this issue 6 years ago • 4 comments

Drag and Drop not work in Firefox 65.0

tfMovamo avatar Feb 15 '19 11:02 tfMovamo

drag and drop still appears to not work in the most modern version of firefox either.

LeifAndersen avatar Dec 30 '21 19:12 LeifAndersen

Looks like its because firefox does not support onDragStart for svg elements: https://bugzilla.mozilla.org/show_bug.cgi?id=691796

That's unfortunate. I suspect we'll have to insert foreign objects as spans to get it to work.

LeifAndersen avatar Dec 31 '21 00:12 LeifAndersen

Okay, this PR https://github.com/Hellenic/react-hexgrid/pull/70 addresses (although does not completely solve) the issue.

LeifAndersen avatar Jan 05 '22 21:01 LeifAndersen

The referenced bug seems to be closed on firefox side. Maybe someone can test again with version 2.0.0-beta.2 or higher.

jannikbuschke avatar Jul 03 '22 10:07 jannikbuschke