dev.....!

This commit is contained in:
Gabe Yuan
2023-08-31 13:38:06 +08:00
parent aa795e2731
commit 4486ad353c
15 changed files with 50 additions and 41 deletions

View File

@@ -159,7 +159,7 @@ export default function Draggable({
y: position.y,
});
}
}, [position]);
}, [position.x, position.y, position.hide]);
const opacity = useMemo(() => {
if (snapEdge) {