fix: fix transparent header on Android

This commit is contained in:
Satyajit Sahoo
2020-02-21 20:07:38 +01:00
parent 225cb298b6
commit a67b49477e

View File

@@ -139,7 +139,7 @@ export default function HeaderContainer({
style={
// Avoid positioning the focused header absolutely
// Otherwise accessibility tools don't seem to be able to find it
(mode === 'float' || options.headerTransparent) && !isFocused
(mode === 'float' && !isFocused) || options.headerTransparent
? styles.header
: null
}