You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-11 17:57:29 +03:00
Fix threads broken layout (#6997)
This commit is contained in:
@@ -64,10 +64,10 @@ const useFilteredThreadsTimelinePanel = ({
|
||||
filterOption: ThreadFilterType;
|
||||
updateTimeline: () => void;
|
||||
}) => {
|
||||
const timelineSet = useMemo(() => new EventTimelineSet(room, {
|
||||
unstableClientRelationAggregation: true,
|
||||
const timelineSet = useMemo(() => new EventTimelineSet(null, {
|
||||
timelineSupport: true,
|
||||
}), [room]);
|
||||
unstableClientRelationAggregation: true,
|
||||
}), []);
|
||||
|
||||
useEffect(() => {
|
||||
let filteredThreads = Array.from(threads);
|
||||
@@ -217,7 +217,7 @@ const ThreadPanel: React.FC<IProps> = ({ roomId, onClose }) => {
|
||||
showReactions={true}
|
||||
className="mx_RoomView_messagePanel mx_GroupLayout"
|
||||
membersLoaded={true}
|
||||
tileShape={TileShape.Thread}
|
||||
tileShape={TileShape.ThreadPanel}
|
||||
/>
|
||||
</BaseCard>
|
||||
</RoomContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user