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
+1 -1
View File
@@ -144,7 +144,7 @@ export function NotificationsScreen({}: Props) {
<Pager
onPageSelected={onPageSelected}
renderTabBar={props => (
<Layout.Center style={web([a.sticky, a.z_10, {top: 0}])}>
<Layout.Center style={[a.z_10, web([a.sticky, {top: 0}])]}>
<TabBar
{...props}
items={sections.map(section => section.title)}
+2 -1
View File
@@ -532,7 +532,8 @@ let SearchScreenInner = ({
renderTabBar={props => (
<Layout.Center
style={[
web([a.sticky, a.z_10]),
a.z_10,
web([a.sticky]),
{top: isWeb ? headerHeight : undefined},
]}>
<TabBar items={sections.map(section => section.title)} {...props} />