Allow scroll by dragging profile header (#2068)
This commit is contained in:
parent
9562a80908
commit
a687d3f028
3 changed files with 27 additions and 16 deletions
|
@ -254,11 +254,14 @@ let PagerTabBar = ({
|
|||
}))
|
||||
return (
|
||||
<Animated.View
|
||||
pointerEvents="box-none"
|
||||
style={[
|
||||
isMobile ? styles.tabBarMobile : styles.tabBarDesktop,
|
||||
headerTransform,
|
||||
]}>
|
||||
<View onLayout={onHeaderOnlyLayout}>{renderHeader?.()}</View>
|
||||
<View onLayout={onHeaderOnlyLayout} pointerEvents="box-none">
|
||||
{renderHeader?.()}
|
||||
</View>
|
||||
<View
|
||||
onLayout={onTabBarLayout}
|
||||
style={{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue