mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Use CSS to stop greyed Right/LeftPanel UI from being interactable
This commit is contained in:
parent
858e1fa341
commit
bd15a88c89
2 changed files with 15 additions and 3 deletions
|
@ -182,8 +182,15 @@ var LeftPanel = React.createClass({
|
|||
}
|
||||
|
||||
return (
|
||||
<aside className={classes} style={{ opacity: this.props.opacity }}
|
||||
onKeyDown={ this._onKeyDown } onFocus={ this._onFocus } onBlur={ this._onBlur }>
|
||||
<aside className={classes}
|
||||
style={{
|
||||
opacity: this.props.opacity,
|
||||
pointerEvents: this.props.opacity < 1.0 ? 'none' : undefined,
|
||||
}}
|
||||
onKeyDown={ this._onKeyDown }
|
||||
onFocus={ this._onFocus }
|
||||
onBlur={ this._onBlur }
|
||||
>
|
||||
{ topBox }
|
||||
<CallPreview ConferenceHandler={VectorConferenceHandler} />
|
||||
<RoomList
|
||||
|
|
|
@ -351,7 +351,12 @@ module.exports = React.createClass({
|
|||
}
|
||||
|
||||
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_headerButtonGroup">
|
||||
{headerButtons}
|
||||
|
|
Loading…
Reference in a new issue