Browse Source

fix: inconsistent state when quickly closing a sliding view

master
Bettenbuk Zoltan 5 years ago
parent
commit
a48d67bdc7
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      react/features/base/react/components/native/SlidingView.js

+ 3
- 1
react/features/base/react/components/native/SlidingView.js View File

@@ -264,7 +264,9 @@ export default class SlidingView extends PureComponent<Props, State> {
264 264
                     })
265 265
                 .start(({ finished }) => {
266 266
                     finished && this._mounted && !show
267
-                        && this.setState({ showOverlay: false });
267
+                        && this.setState({ showOverlay: false }, () => {
268
+                            this.forceUpdate();
269
+                        });
268 270
                     resolve();
269 271
                 });
270 272
         });

Loading…
Cancel
Save