From 5e3a61de44b74577e625e7cfdaf802e7c13cd93b Mon Sep 17 00:00:00 2001 From: Hubert Sosinski Date: Thu, 30 Apr 2026 10:11:38 +0200 Subject: [PATCH] fix(iOS): prevent native MVCP from activating when disabled flag is set --- ...lash-list+2.3.0+007+fix-scroll-anchor-unmount-on-ios.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/@shopify/flash-list/@shopify+flash-list+2.3.0+007+fix-scroll-anchor-unmount-on-ios.patch b/patches/@shopify/flash-list/@shopify+flash-list+2.3.0+007+fix-scroll-anchor-unmount-on-ios.patch index e7b2641c5685..7f1700a548d9 100644 --- a/patches/@shopify/flash-list/@shopify+flash-list+2.3.0+007+fix-scroll-anchor-unmount-on-ios.patch +++ b/patches/@shopify/flash-list/@shopify+flash-list+2.3.0+007+fix-scroll-anchor-unmount-on-ios.patch @@ -9,7 +9,7 @@ index ee42f63..4e8d8c0 100644 - const shouldMaintainVisibleContentPosition = recyclerViewManager.shouldMaintainVisibleContentPosition(); const maintainVisibleContentPositionInternal = useMemo(() => { - if (shouldMaintainVisibleContentPosition) { -+ if (maintainVisibleContentPosition != null) { ++ if (maintainVisibleContentPosition != null && !maintainVisibleContentPosition.disabled) { return { ...maintainVisibleContentPosition, minIndexForVisible: 0, @@ -48,7 +48,7 @@ index b2bd67a..d4bf02d 100644 - const maintainVisibleContentPositionInternal = useMemo(() => { - if (shouldMaintainVisibleContentPosition) { -+ if (maintainVisibleContentPosition != null) { ++ if (maintainVisibleContentPosition != null && !maintainVisibleContentPosition.disabled) { return { ...maintainVisibleContentPosition, minIndexForVisible: 0,