Notify to resize the timeline when the pinned message banner is displayed or hidden (#28654)

This commit is contained in:
Florian Duros
2024-12-05 17:11:40 +01:00
committed by GitHub
parent 5686666ad2
commit dbdb23f6bc
3 changed files with 86 additions and 6 deletions

View File

@@ -2372,7 +2372,11 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
);
const pinnedMessageBanner = (
<PinnedMessageBanner room={this.state.room} permalinkCreator={this.permalinkCreator} />
<PinnedMessageBanner
room={this.state.room}
permalinkCreator={this.permalinkCreator}
resizeNotifier={this.props.resizeNotifier}
/>
);
let messageComposer;