1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Merge pull request #5568 from SimonBrandner/fix-15221

Increase PersistedElement's z-index
This commit is contained in:
Travis Ralston
2021-01-27 20:37:11 -07:00
committed by GitHub

View File

@@ -165,6 +165,7 @@ export default class PersistedElement extends React.Component {
const parentRect = parent.getBoundingClientRect(); const parentRect = parent.getBoundingClientRect();
Object.assign(child.style, { Object.assign(child.style, {
zIndex: 9,
position: 'absolute', position: 'absolute',
top: parentRect.top + 'px', top: parentRect.top + 'px',
left: parentRect.left + 'px', left: parentRect.left + 'px',