Fix FilePanel and NotificationPanel overscroll issues

This commit is contained in:
Michael Telatynski 2020-09-09 09:50:08 +01:00
parent 644ff56ace
commit 29c2a0ef35
3 changed files with 4 additions and 3 deletions

View file

@ -230,6 +230,7 @@ class FilePanel extends React.Component {
className="mx_FilePanel"
onClose={this.props.onClose}
previousPhase={RightPanelPhases.RoomSummary}
withoutScrollContainer
>
<TimelinePanel
manageReadReceipts={false}

View file

@ -60,7 +60,7 @@ class NotificationPanel extends React.Component {
content = <Loader />;
}
return <BaseCard className="mx_NotificationPanel" onClose={this.props.onClose}>
return <BaseCard className="mx_NotificationPanel" onClose={this.props.onClose} withoutScrollContainer>
{ content }
</BaseCard>;
}

View file

@ -104,8 +104,8 @@ class TimelinePanel extends React.Component {
// shape property to be passed to EventTiles
tileShape: PropTypes.string,
// placeholder text to use if the timeline is empty
empty: PropTypes.string,
// placeholder to use if the timeline is empty
empty: PropTypes.node,
// whether to show reactions for an event
showReactions: PropTypes.bool,