From c1b2375ffeb25d6269593f2f4f41271734f8918c Mon Sep 17 00:00:00 2001 From: ErfanBagheri404 Date: Sat, 22 Aug 2026 09:24:55 +0330 Subject: [PATCH] fix: remove content offset from stickyHeaderConfig.offset spacer viewToMeasureBoundedSize applied marginTop: stickyHeaderOffset which shifts all list content down by the offset amount, not just the sticky pin position (see #2419). --- src/recyclerview/RecyclerView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recyclerview/RecyclerView.tsx b/src/recyclerview/RecyclerView.tsx index 3c25e7e89..ebbe0a405 100644 --- a/src/recyclerview/RecyclerView.tsx +++ b/src/recyclerview/RecyclerView.tsx @@ -505,14 +505,14 @@ const RecyclerViewComponent = ( return ( ); - }, [horizontal, stickyHeaderOffset]); + }, [horizontal]); const scrollAnchor = useMemo(() => { if (shouldMaintainVisibleContentPosition) {