You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-05 15:22:09 +03:00
Fix room view not properly maintaining scroll position (#11274)
This commit is contained in:
committed by
GitHub
parent
3ccc0fd8df
commit
2bc4764e01
@@ -743,7 +743,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.state.roomId === null && newState.roomId !== null) {
|
||||
if (this.state.roomId === undefined && newState.roomId !== undefined) {
|
||||
// Get the scroll state for the new room
|
||||
|
||||
// If an event ID wasn't specified, default to the one saved for this room
|
||||
|
||||
Reference in New Issue
Block a user