Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix zIndex of peristent apps in miniMode (#7429)
Browse files Browse the repository at this point in the history
Fixes a bug, where the persistent (PiP mode app) is hidden behind another widget in the right panel or a maximised widget.
  • Loading branch information
toger5 authored Dec 21, 2021
1 parent a239c45 commit d4bafdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/elements/AppTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit d4bafdc

Please sign in to comment.