diff --git a/Sources/Core.swift b/Sources/Core.swift index 7758051c..df145f21 100644 --- a/Sources/Core.swift +++ b/Sources/Core.swift @@ -1090,7 +1090,7 @@ class Core: NSObject, UIGestureRecognizerDelegate { // Must use setContentOffset(_:animated) to force-stop deceleration guard let scrollView = scrollView else { return } var offset = scrollView.contentOffset - if contentOffset.y >= 0 { + if contentOffset.y != 0 { setValue(contentOffset, to: &offset) } else { offset = CGPoint(x: 0, y: 0)