mirror of https://github.com/vector-im/riot-web
use AutoHideScrollbar in member info panel
parent
dad382a4b7
commit
af0a51d3b2
|
@ -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 New Issue