|
@@ -74,7 +74,7 @@ export function fullScreenChanged(fullScreen: boolean) {
|
74
|
74
|
export function hideToolbox(force: boolean = false): Function {
|
75
|
75
|
return (dispatch: Dispatch<any>, getState: Function) => {
|
76
|
76
|
const state = getState();
|
77
|
|
- const { toolbarConfig: { alwaysVisible } } = state['features/base/config'];
|
|
77
|
+ const { toolbarConfig: { alwaysVisible, autoHideWhileChatIsOpen } } = state['features/base/config'];
|
78
|
78
|
const { hovered } = state['features/toolbox'];
|
79
|
79
|
const toolbarTimeout = getToolbarTimeout(state);
|
80
|
80
|
|
|
@@ -89,7 +89,7 @@ export function hideToolbox(force: boolean = false): Function {
|
89
|
89
|
if (!force
|
90
|
90
|
&& (hovered
|
91
|
91
|
|| state['features/invite'].calleeInfoVisible
|
92
|
|
- || state['features/chat'].isOpen
|
|
92
|
+ || (state['features/chat'].isOpen && !autoHideWhileChatIsOpen)
|
93
|
93
|
|| document.querySelector(focusSelector))) {
|
94
|
94
|
dispatch(
|
95
|
95
|
setToolboxTimeout(
|