mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Fix FilePanel and NotificationPanel overscroll issues
This commit is contained in:
parent
644ff56ace
commit
29c2a0ef35
@ -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 New Issue
Block a user