2
0

fix(editor): 🐛 Fix block title select on Chrome and Safari

This commit is contained in:
Baptiste Arnaud
2022-03-14 08:32:38 +01:00
parent 69248f94d4
commit 80679dfbd0
2 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export const Graph = ({
}
return (
<DraggableCore onDrag={onDrag}>
<DraggableCore onDrag={onDrag} enableUserSelectHack={false}>
<Flex ref={graphContainerRef} position="relative" {...props}>
<Flex
flex="1"

View File

@ -100,6 +100,7 @@ export const BlockNode = ({ block, blockIndex }: Props) => {
>
{(ref, isOpened) => (
<DraggableCore
enableUserSelectHack={false}
onDrag={onDrag}
onStart={onDragStart}
onStop={onDragStop}