@ -85,7 +85,7 @@ export const ButtonsItemNode = ({ item, indices, isMouseOver }: Props) => {
|
||||
color={item.content !== 'Click to edit' ? 'inherit' : 'gray.500'}
|
||||
cursor="pointer"
|
||||
/>
|
||||
<EditableInput />
|
||||
<EditableInput onMouseDownCapture={(e) => e.stopPropagation()} />
|
||||
</Editable>
|
||||
<HitboxExtension />
|
||||
<SlideFade
|
||||
|
@ -114,7 +114,10 @@ export const ItemNodesList = ({
|
||||
detachItemFromBlock({ groupIndex, blockIndex, itemIndex })
|
||||
setPosition(absolute)
|
||||
setRelativeCoordinates(relative)
|
||||
setDraggedItem(item)
|
||||
setDraggedItem({
|
||||
...item,
|
||||
blockId: block.id,
|
||||
})
|
||||
}
|
||||
|
||||
const stopPropagating = (e: React.MouseEvent) => e.stopPropagation()
|
||||
|
Reference in New Issue
Block a user