diff --git a/Sources/Core.swift b/Sources/Core.swift index 9188a7d2..579763a9 100644 --- a/Sources/Core.swift +++ b/Sources/Core.swift @@ -561,7 +561,7 @@ class Core: NSObject, UIGestureRecognizerDelegate { } private func interruptAnimationIfNeeded() { - if let animator = self.moveAnimator, animator.isRunning { + if let animator = self.moveAnimator, animator.isRunning, 0 <= layoutAdapter.offsetFromMostExpandedAnchor { os_log(msg, log: devLog, type: .debug, "the attraction animator interrupted!!!") animator.stopAnimation(true) endAttraction(false)