Fix zIndex of peristent apps in miniMode (#7429)

Fixes a bug, where the persistent (PiP mode app) is hidden behind another widget in the right panel or a maximised widget.
pull/21833/head
Timo 2021-12-21 17:42:42 +01:00 committed by GitHub
parent a239c456e3
commit d4bafdcddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ export default class AppTile extends React.Component<IProps, IState> {
// Also wrap the PersistedElement in a div to fix the height, otherwise
// AppTile's border is in the wrong place
appTileBody = <div className="mx_AppTile_persistedWrapper">
<PersistedElement persistKey={this.persistKey}>
<PersistedElement zIndex={this.props.miniMode ? 10 : 9}persistKey={this.persistKey}>
{ appTileBody }
</PersistedElement>
</div>;