diff --git a/src/index.tsx b/src/index.tsx index ed88b2c4..0639b39f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -476,6 +476,7 @@ export function generateTrigger( const rect = ele.getBoundingClientRect(); setTargetWidth(rect.width); setTargetHeight(rect.height); + setInMotion(false); // makes onAlign calculating } };