diff --git a/src/view/com/pager/PagerWithHeader.tsx b/src/view/com/pager/PagerWithHeader.tsx index 80aa5dfc58..5bbd576ae2 100644 --- a/src/view/com/pager/PagerWithHeader.tsx +++ b/src/view/com/pager/PagerWithHeader.tsx @@ -258,14 +258,11 @@ let PagerTabBar = ({ return ( + style={[ + isMobile ? styles.tabBarMobile : styles.tabBarDesktop, + isWeb ? null : headerTransform, + isWeb ? null : {position: 'absolute'}, + ]}> {renderHeader?.()} @@ -335,14 +332,12 @@ function PagerItem({ const styles = StyleSheet.create({ tabBarMobile: { - position: 'absolute', zIndex: 1, top: 0, left: 0, width: '100%', }, tabBarDesktop: { - position: 'absolute', zIndex: 1, top: 0, // @ts-ignore Web only -prf