[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:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user