mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Fix FilePanel and NotificationPanel overscroll issues
This commit is contained in:
parent
644ff56ace
commit
29c2a0ef35
3 changed files with 4 additions and 3 deletions
|
@ -230,6 +230,7 @@ class FilePanel extends React.Component {
|
|||
className="mx_FilePanel"
|
||||
onClose={this.props.onClose}
|
||||
previousPhase={RightPanelPhases.RoomSummary}
|
||||
withoutScrollContainer
|
||||
>
|
||||
<TimelinePanel
|
||||
manageReadReceipts={false}
|
||||
|
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue