From 180cc352e387593e293fedb3c8f3a1c01d21188b Mon Sep 17 00:00:00 2001 From: Khoa Luu Date: Thu, 30 May 2019 16:15:31 +0700 Subject: [PATCH] Commit --- ios/RNPhotoView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RNPhotoView.m b/ios/RNPhotoView.m index 973f909..6002408 100644 --- a/ios/RNPhotoView.m +++ b/ios/RNPhotoView.m @@ -303,6 +303,7 @@ - (void)initView { self.decelerationRate = UIScrollViewDecelerationRateFast; self.showsVerticalScrollIndicator = NO; self.showsHorizontalScrollIndicator = NO; + self.scrollsToTop = NO; if (@available(iOS 11.0, *)) { self.contentInsetAdjustmentBehavior=UIScrollViewContentInsetAdjustmentNever; }