diff --git a/react/features/base/react/components/native/SlidingView.js b/react/features/base/react/components/native/SlidingView.js index 6a2305b83..e8f5ebd89 100644 --- a/react/features/base/react/components/native/SlidingView.js +++ b/react/features/base/react/components/native/SlidingView.js @@ -128,8 +128,12 @@ export default class SlidingView extends PureComponent { * * @inheritdoc */ - componentDidUpdate() { - this._setShow(this.props.show); + componentDidUpdate(prevProps: Props) { + const { show } = this.props; + + if (prevProps.show !== show) { + this._setShow(show); + } } /**