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): Fix toolbox not auto-hiding. (#9002)

Horatiu Muresancbeb7b86cc72
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index 53a1e46a92..cf8040fed7 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -75,7 +75,7 @@ import {
setFullScreen,
setOverflowMenuVisible,
setToolbarHovered,
- setToolboxVisible
+ showToolbox
} from '../../actions';
import { getToolbarAdditionalButtons, isToolboxVisible } from '../../functions';
import DownloadButton from '../DownloadButton';
@@ -675,7 +675,7 @@ class Toolbox extends Component<Props> {
*/
_onTabIn() {
if (!this.props._visible) {
- this.props.dispatch(setToolboxVisible(true));
+ this.props.dispatch(showToolbox());
}
}