Room scroll state is broken #25810
Labels
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
X-Regression
Steps to reproduce
Since v1.11.25 of Element (matrix-react-sdk v3.68.0) the scroll state of rooms isn't saved.
Seems like the issue is localized in
src/components/structures/RoomView.tsx
and caused bythis.state.roomId
being initialized toundefined
instead ofnull
and therefore failing a strict check at line 746.Steps to reproduce
Outcome
What did you expect?
The scroll state is restored.
What happened instead?
I see the bottom of the room.
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: