From 29c2a0ef35d7de332f61d9396cbf11087139557a Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Wed, 9 Sep 2020 09:50:08 +0100
Subject: [PATCH] Fix FilePanel and NotificationPanel overscroll issues
---
src/components/structures/FilePanel.js | 1 +
src/components/structures/NotificationPanel.js | 2 +-
src/components/structures/TimelinePanel.js | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/components/structures/FilePanel.js b/src/components/structures/FilePanel.js
index 8812ba4302..6d618d0b9d 100644
--- a/src/components/structures/FilePanel.js
+++ b/src/components/structures/FilePanel.js
@@ -230,6 +230,7 @@ class FilePanel extends React.Component {
className="mx_FilePanel"
onClose={this.props.onClose}
previousPhase={RightPanelPhases.RoomSummary}
+ withoutScrollContainer
>
;
}
- return
+ return
{ content }
;
}
diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js
index daa18bb290..97f9ba48ed 100644
--- a/src/components/structures/TimelinePanel.js
+++ b/src/components/structures/TimelinePanel.js
@@ -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,