mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 22:30:36 +08:00
fix: fix transparent header on Android
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user