mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
use AutoHideScrollbar in member info panel
This commit is contained in:
parent
c8123ec665
commit
d3af992d7f
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue