Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: inconsistent state when quickly closing a sliding view

Bettenbuk Zoltana48d67bdc7f1
diff --git a/react/features/base/react/components/native/SlidingView.js b/react/features/base/react/components/native/SlidingView.js
index 10712927c3..6a2305b839 100644
--- a/react/features/base/react/components/native/SlidingView.js
+++ b/react/features/base/react/components/native/SlidingView.js
@@ -264,7 +264,9 @@ export default class SlidingView extends PureComponent<Props, State> {
})
.start(({ finished }) => {
finished && this._mounted && !show
- && this.setState({ showOverlay: false });
+ && this.setState({ showOverlay: false }, () => {
+ this.forceUpdate();
+ });
resolve();
});
});