1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Fixed 15221

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-01-24 12:56:44 +01:00
parent fe4af4fb90
commit 02b552f958

View File

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