Diego Mello 2022-12-05 10:04:58 -03:00
parent 1af737ee71
commit da113ac1d0
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
diff --git a/node_modules/@shopify/flash-list/ios/Sources/AutoLayoutView.swift b/node_modules/@shopify/flash-list/ios/Sources/AutoLayoutView.swift
index c2146c5..5ce7900 100644
--- a/node_modules/@shopify/flash-list/ios/Sources/AutoLayoutView.swift
+++ b/node_modules/@shopify/flash-list/ios/Sources/AutoLayoutView.swift
@@ -231,7 +231,10 @@ import UIKit
/// Fixes footer position along with rest of the items
private func fixFooter() {
- guard !disableAutoLayout, let parentScrollView = getScrollView() else {
+ guard !disableAutoLayout,
+ // Fixing layout during animation can interfere with it.
+ layer.animationKeys()?.isEmpty ?? true,
+ let parentScrollView = getScrollView() else {
return
}