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:
committed by
Ian Storm Taylor
parent
a0c4073f22
commit
f6ca563c4d
@@ -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
|
||||
|
Reference in New Issue
Block a user