diff --git a/react/features/conference/components/Conference.native.js b/react/features/conference/components/Conference.native.js index c8ab1bf2d..499c74739 100644 --- a/react/features/conference/components/Conference.native.js +++ b/react/features/conference/components/Conference.native.js @@ -70,6 +70,16 @@ class Conference extends Component { this._onClick = this._onClick.bind(this); } + /** + * Inits the toolbar timeout after the component is initially rendered. + * + * @inheritDoc + * returns {void} + */ + componentDidMount() { + this._setToolbarTimeout(this.state.toolbarVisible); + } + /** * Inits new connection and conference when conference screen is entered. * @@ -102,8 +112,6 @@ class Conference extends Component { render() { const toolbarVisible = this.state.toolbarVisible; - this._setToolbarTimeout(toolbarVisible); - return (