|
@@ -7,6 +7,7 @@ import {
|
7
|
7
|
View
|
8
|
8
|
} from 'react-native';
|
9
|
9
|
|
|
10
|
+import { Platform } from '../../';
|
10
|
11
|
import AbstractContainer from '../AbstractContainer';
|
11
|
12
|
|
12
|
13
|
/**
|
|
@@ -38,6 +39,12 @@ export default class Container extends AbstractContainer {
|
38
|
39
|
|
39
|
40
|
// visible
|
40
|
41
|
if (!visible) {
|
|
42
|
+ // FIXME: Whatever I try ends up failing somehow on Android, give up
|
|
43
|
+ // for now, hoping display: 'none' solves this.
|
|
44
|
+ if (Platform.OS === 'android') {
|
|
45
|
+ return null;
|
|
46
|
+ }
|
|
47
|
+
|
41
|
48
|
// Intentionally hide this Container without destroying it.
|
42
|
49
|
// TODO Replace with display: 'none' supported in RN >= 0.43.
|
43
|
50
|
props.style = {
|