Support stacking dialogs to prevent unmounting
Fixes https://github.com/vector-im/riot-web/issues/8371
This commit is contained in:
parent
8d7837829e
commit
0978ab3da0
4 changed files with 114 additions and 19 deletions
|
@ -584,7 +584,8 @@ export default React.createClass({
|
|||
break;
|
||||
case 'view_user_settings': {
|
||||
const UserSettingsDialog = sdk.getComponent("dialogs.UserSettingsDialog");
|
||||
Modal.createTrackedDialog('User settings', '', UserSettingsDialog, {}, 'mx_SettingsDialog');
|
||||
Modal.createTrackedDialog('User settings', '', UserSettingsDialog, {}, 'mx_SettingsDialog',
|
||||
/*isPriority=*/false, /*isStatic=*/true);
|
||||
|
||||
// View the welcome or home page if we need something to look at
|
||||
this._viewSomethingBehindModal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue