fix: allow HeaderBackground's subViews to be touchable (#8317)

This commit is contained in:
Bright Lee
2020-05-25 15:50:24 +02:00
committed by GitHub
parent 68e750d5a6
commit 00c23f2c9e

View File

@@ -312,8 +312,8 @@ export default class HeaderSegment extends React.Component<Props, State> {
return (
<React.Fragment>
<Animated.View
pointerEvents="none"
style={[StyleSheet.absoluteFill, backgroundStyle]}
pointerEvents="box-none"
style={[StyleSheet.absoluteFill, { zIndex: 0 }, backgroundStyle]}
>
{headerBackground ? (
headerBackground({ style: safeStyles })