Skip to content

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

Fixes hiding toolbar.

damenchoc483587853d1
diff --git a/modules/UI/side_pannels/chat/Chat.js b/modules/UI/side_pannels/chat/Chat.js
index 00b2724de8..dfde1aa46c 100644
--- a/modules/UI/side_pannels/chat/Chat.js
+++ b/modules/UI/side_pannels/chat/Chat.js
@@ -3,6 +3,7 @@
import {processReplacements, linkify} from './Replacement';
import CommandsProcessor from './Commands';
import ToolbarToggler from '../../toolbars/ToolbarToggler';
+import VideoLayout from "../../videolayout/VideoLayout";
import UIUtil from '../../util/UIUtil';
import UIEvents from '../../../../service/UI/UIEvents';
@@ -180,6 +181,12 @@ var Chat = {
unreadMessages = 0;
updateVisualNotification();
+ // Undock the toolbar when the chat is shown and if we're in a
+ // video mode.
+ if (VideoLayout.isLargeVideoVisible()) {
+ ToolbarToggler.dockToolbar(false);
+ }
+
// if we are in conversation mode focus on the text input
// if we are not, focus on the display name input
if (APP.settings.getDisplayName())