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

Fix resizer on LoggedInView

This commit is contained in:
Dariusz Niemczyk
2021-08-23 16:18:40 +02:00
parent 27dbd172b0
commit 51b5b0145b

View File

@@ -284,7 +284,7 @@ class LoggedInView extends React.Component<IProps, IState> {
if (isNaN(lhsSize)) { if (isNaN(lhsSize)) {
lhsSize = 350; lhsSize = 350;
} }
this.resizer.forHandleAt(0).resize(lhsSize); this.resizer.forHandleWithId('lp-resizer').resize(lhsSize);
} }
private onAccountData = (event: MatrixEvent) => { private onAccountData = (event: MatrixEvent) => {
@@ -654,7 +654,7 @@ class LoggedInView extends React.Component<IProps, IState> {
isMinimized={this.props.collapseLhs || false} isMinimized={this.props.collapseLhs || false}
resizeNotifier={this.props.resizeNotifier} resizeNotifier={this.props.resizeNotifier}
/> />
<ResizeHandle /> <ResizeHandle id="lp-resizer" />
</div> </div>
<div className="mx_RoomView_wrapper"> <div className="mx_RoomView_wrapper">
{ pageElement } { pageElement }