Fix z-indexes to make tabbar scroll on Android (#7102)

This commit is contained in:
dan
2024-12-14 00:01:31 +00:00
committed by GitHub
parent ca8ca903b2
commit 55222c5b0e
5 changed files with 19 additions and 18 deletions
+9 -7
View File
@@ -134,14 +134,16 @@ let PagerTabBar = ({
<Layout.Center>{renderHeader?.({setMinimumHeight: noop})}</Layout.Center>
{tabBarAnchor}
<Layout.Center
style={web([
a.sticky,
style={[
a.z_10,
{
top: 0,
display: isHeaderReady ? undefined : 'none',
},
])}>
web([
a.sticky,
{
top: 0,
display: isHeaderReady ? undefined : 'none',
},
]),
]}>
<TabBar
testID={testID}
items={items}