Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(Toolbar): Fix toolbar not hiding on mobile

Mihai-Andrei Uscat9ee75038b69b
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index a289b70da4..710c7ed9d4 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -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 && (