mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Use CSS to stop greyed Right/LeftPanel UI from being interactable
This commit is contained in:
parent
858e1fa341
commit
bd15a88c89
@ -182,8 +182,15 @@ var LeftPanel = React.createClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className={classes} style={{ opacity: this.props.opacity }}
|
<aside className={classes}
|
||||||
onKeyDown={ this._onKeyDown } onFocus={ this._onFocus } onBlur={ this._onBlur }>
|
style={{
|
||||||
|
opacity: this.props.opacity,
|
||||||
|
pointerEvents: this.props.opacity < 1.0 ? 'none' : undefined,
|
||||||
|
}}
|
||||||
|
onKeyDown={ this._onKeyDown }
|
||||||
|
onFocus={ this._onFocus }
|
||||||
|
onBlur={ this._onBlur }
|
||||||
|
>
|
||||||
{ topBox }
|
{ topBox }
|
||||||
<CallPreview ConferenceHandler={VectorConferenceHandler} />
|
<CallPreview ConferenceHandler={VectorConferenceHandler} />
|
||||||
<RoomList
|
<RoomList
|
||||||
|
@ -351,7 +351,12 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<aside className={classes} style={{ opacity: this.props.opacity }}>
|
<aside className={classes}
|
||||||
|
style={{
|
||||||
|
opacity: this.props.opacity,
|
||||||
|
pointerEvents: this.props.opacity < 1.0 ? 'none' : undefined,
|
||||||
|
}}
|
||||||
|
>
|
||||||
<div className="mx_RightPanel_header">
|
<div className="mx_RightPanel_header">
|
||||||
<div className="mx_RightPanel_headerButtonGroup">
|
<div className="mx_RightPanel_headerButtonGroup">
|
||||||
{headerButtons}
|
{headerButtons}
|
||||||
|
Loading…
Reference in New Issue
Block a user