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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;