fixed toolbar animation

This commit is contained in:
paul
2024-09-26 13:47:05 +05:30
parent e34751c20c
commit 8c45f896f0
7 changed files with 28 additions and 13 deletions

View File

@@ -18,6 +18,8 @@ const DroppableWrapper = memo(({onDrop, droppableTags={}, ...props}) => {
const handleDragEnter = (e) => {
console.log("Drag enter")
if (!draggedElement || !draggedElement.getAttribute("data-drag-start-within")){
// if the drag is starting from outside (eg: file drop) or if drag doesn't exist
return