diff --git a/react/features/base/react/components/native/Container.js b/react/features/base/react/components/native/Container.js index 4b79bf41b..1de76511e 100644 --- a/react/features/base/react/components/native/Container.js +++ b/react/features/base/react/components/native/Container.js @@ -7,6 +7,7 @@ import { View } from 'react-native'; +import { Platform } from '../../'; import AbstractContainer from '../AbstractContainer'; /** @@ -38,6 +39,12 @@ export default class Container extends AbstractContainer { // visible if (!visible) { + // FIXME: Whatever I try ends up failing somehow on Android, give up + // for now, hoping display: 'none' solves this. + if (Platform.OS === 'android') { + return null; + } + // Intentionally hide this Container without destroying it. // TODO Replace with display: 'none' supported in RN >= 0.43. props.style = {