fix(editor): 🐛 Fix block title select on Chrome and Safari
This commit is contained in:
@ -117,7 +117,7 @@ export const Graph = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DraggableCore onDrag={onDrag}>
|
<DraggableCore onDrag={onDrag} enableUserSelectHack={false}>
|
||||||
<Flex ref={graphContainerRef} position="relative" {...props}>
|
<Flex ref={graphContainerRef} position="relative" {...props}>
|
||||||
<Flex
|
<Flex
|
||||||
flex="1"
|
flex="1"
|
||||||
|
@ -100,6 +100,7 @@ export const BlockNode = ({ block, blockIndex }: Props) => {
|
|||||||
>
|
>
|
||||||
{(ref, isOpened) => (
|
{(ref, isOpened) => (
|
||||||
<DraggableCore
|
<DraggableCore
|
||||||
|
enableUserSelectHack={false}
|
||||||
onDrag={onDrag}
|
onDrag={onDrag}
|
||||||
onStart={onDragStart}
|
onStart={onDragStart}
|
||||||
onStop={onDragStop}
|
onStop={onDragStop}
|
||||||
|
Reference in New Issue
Block a user