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(toolbox): hide toolbox when mouse outside toolbox area

hmuresan24bf5a2dc372
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index 0326ae48f5..f1e4899e5a 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -368,10 +368,7 @@ class Toolbox extends Component<Props> {
return (
<div
className = { rootClassNames }
- id = 'new-toolbox'
- onFocus = { this._onTabIn }
- onMouseOut = { this._onMouseOut }
- onMouseOver = { this._onMouseOver }>
+ id = 'new-toolbox'>
{ this._renderToolboxContent() }
</div>
);
@@ -1300,7 +1297,11 @@ class Toolbox extends Component<Props> {
return (
<div className = { containerClassName }>
- <div className = 'toolbox-content-wrapper'>
+ <div
+ className = 'toolbox-content-wrapper'
+ onFocus = { this._onTabIn }
+ onMouseOut = { this._onMouseOut }
+ onMouseOver = { this._onMouseOver }>
<div className = 'toolbox-content-items'>
{ this._renderAudioButton() }
{ this._renderVideoButton() }