fix header

This commit is contained in:
ammarahm-ed
2020-01-31 18:40:56 +05:00
parent 430b2f847b
commit 6e2c2e0cf0
3 changed files with 22 additions and 23 deletions

View File

@@ -164,15 +164,11 @@ export const Container = ({
}}>
{noSelectionHeader ? null : <SelectionHeader />}
<Animatable.View
transition={['backgroundColor', 'opacity', 'height']}
duration={300}
<View
style={{
position: 'absolute',
backgroundColor: colors.bg,
zIndex: 800,
height: selectionMode ? 0 : null,
opacity: selectionMode ? 0 : 1,
zIndex: 999,
width: '100%',
}}>
<Header
@@ -206,7 +202,7 @@ export const Container = ({
value={text}
/>
) : null}
</Animatable.View>
</View>
{children}