use AutoHideScrollbar in member info panel

pull/21833/head
Bruno Windels 2019-03-12 16:38:42 +01:00
parent dad382a4b7
commit af0a51d3b2
1 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ import SdkConfig from '../../../SdkConfig';
import MultiInviter from "../../../utils/MultiInviter"; import MultiInviter from "../../../utils/MultiInviter";
import SettingsStore from "../../../settings/SettingsStore"; import SettingsStore from "../../../settings/SettingsStore";
import E2EIcon from "./E2EIcon"; import E2EIcon from "./E2EIcon";
import AutoHideScrollbar from "../../structures/AutoHideScrollbar";
module.exports = withMatrixClient(React.createClass({ module.exports = withMatrixClient(React.createClass({
displayName: 'MemberInfo', displayName: 'MemberInfo',
@ -1003,7 +1004,7 @@ module.exports = withMatrixClient(React.createClass({
{ roomMemberDetails } { roomMemberDetails }
</div> </div>
</div> </div>
<GeminiScrollbarWrapper autoshow={true} className="mx_MemberInfo_scrollContainer"> <AutoHideScrollbar className="mx_MemberInfo_scrollContainer">
<div className="mx_MemberInfo_container"> <div className="mx_MemberInfo_container">
{ this._renderUserOptions() } { this._renderUserOptions() }
@ -1015,7 +1016,7 @@ module.exports = withMatrixClient(React.createClass({
{ spinner } { spinner }
</div> </div>
</GeminiScrollbarWrapper> </AutoHideScrollbar>
</div> </div>
); );
}, },