1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-23 15:32:59 +02:00

Remove event.preventDefault which causes cursor not to be shown when dragging (#1040)

This commit is contained in:
Per-Kristian Nordnes
2017-09-05 18:23:48 +02:00
committed by Ian Storm Taylor
parent a0c4073f22
commit f6ca563c4d

View File

@@ -448,9 +448,6 @@ class Content extends React.Component {
onDragOver = (event) => {
if (!this.isInEditor(event.target)) return
event.preventDefault()
if (this.tmp.isDragging) return
this.tmp.isDragging = true
this.tmp.isInternalDrag = false