[Explore] Add flatlist perf-related props (#8120)

* Add flatlist perf-related props

* Make keys more unique

* Small gap

---------

Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
Samuel Newman
2025-04-04 18:15:56 +03:00
committed by GitHub
parent 22a7199436
commit ceb51c7e8f
3 changed files with 11 additions and 3 deletions
@@ -41,6 +41,8 @@ export function Container({
headerHeight && web({position: 'sticky', top: headerHeight}),
style,
]}>
{/* Very non-scientific way to avoid small gap on scroll */}
<View style={[a.absolute, a.inset_0, t.atoms.bg, {top: -2}]} />
{children}
</View>
)