mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Shared media scrolling fixes
This commit is contained in:
@@ -1015,6 +1015,10 @@ public final class SparseItemGrid: ASDisplayNode {
|
||||
guard let strongSelf = self else {
|
||||
return nil
|
||||
}
|
||||
if let decelerationAnimator = strongSelf.decelerationAnimator {
|
||||
strongSelf.decelerationAnimator = nil
|
||||
decelerationAnimator.invalidate()
|
||||
}
|
||||
strongSelf.items?.itemBinding.onBeginFastScrolling()
|
||||
return strongSelf.scrollView
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user