fix(Toolbar): Fix toolbar not hiding on mobile

This commit is contained in:
Mihai-Andrei Uscat 2021-07-30 11:37:45 +03:00 committed by GitHub
parent 09af88088d
commit 9ee75038b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1179,8 +1179,10 @@ class Toolbox extends Component<Props> {
<div
className = 'toolbox-content-wrapper'
onFocus = { this._onTabIn }
onMouseOut = { this._onMouseOut }
onMouseOver = { this._onMouseOver }>
{ ...(_isMobile ? {} : {
onMouseOut: this._onMouseOut,
onMouseOver: this._onMouseOver
}) }>
<DominantSpeakerName />
<div className = 'toolbox-content-items'>
{mainMenuButtons.map(({ Content, key, ...rest }) => Content !== Separator && (