Fix z-indexes to make tabbar scroll on Android (#7102)
This commit is contained in:
@@ -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)}
|
||||
|
||||
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user