From 3468abc97514b0f2ca6e83148a5b4eb9fc4a13f7 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Fri, 13 Oct 2017 17:49:52 +0100 Subject: [PATCH] Use GeminiScrollbar instead of ScrollPanel --- src/components/structures/GroupView.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 4341f03917..c9cc375563 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -30,7 +30,7 @@ import classnames from 'classnames'; import GroupStoreCache from '../../stores/GroupStoreCache'; import GroupStore from '../../stores/GroupStore'; import { showGroupAddRoomDialog } from '../../GroupAddressPicker'; - +import GeminiScrollbar from 'react-gemini-scrollbar'; const RoomSummaryType = PropTypes.shape({ room_id: PropTypes.string.isRequired, @@ -821,7 +821,6 @@ export default React.createClass({ const GroupAvatar = sdk.getComponent("avatars.GroupAvatar"); const Loader = sdk.getComponent("elements.Spinner"); const TintableSvg = sdk.getComponent("elements.TintableSvg"); - const ScrollPanel = sdk.getComponent("structures.ScrollPanel"); if (this.state.summary === null && this.state.error === null || this.state.saving) { return ; @@ -969,12 +968,9 @@ export default React.createClass({ { rightButtons } - + { bodyNodes } - + ); } else if (this.state.error) {