mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-24 16:02:55 +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) => {
|
onDragOver = (event) => {
|
||||||
if (!this.isInEditor(event.target)) return
|
if (!this.isInEditor(event.target)) return
|
||||||
|
|
||||||
event.preventDefault()
|
|
||||||
|
|
||||||
if (this.tmp.isDragging) return
|
if (this.tmp.isDragging) return
|
||||||
this.tmp.isDragging = true
|
this.tmp.isDragging = true
|
||||||
this.tmp.isInternalDrag = false
|
this.tmp.isInternalDrag = false
|
||||||
|
Reference in New Issue
Block a user