From a48d67bdc7f123fc27992e48471104173a3e7eb8 Mon Sep 17 00:00:00 2001 From: Bettenbuk Zoltan Date: Tue, 2 Jul 2019 11:24:36 +0200 Subject: [PATCH] fix: inconsistent state when quickly closing a sliding view --- react/features/base/react/components/native/SlidingView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/features/base/react/components/native/SlidingView.js b/react/features/base/react/components/native/SlidingView.js index 10712927c..6a2305b83 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 { }) .start(({ finished }) => { finished && this._mounted && !show - && this.setState({ showOverlay: false }); + && this.setState({ showOverlay: false }, () => { + this.forceUpdate(); + }); resolve(); }); });