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: Drops auto-hiding filmstrip under certain threshold.

damencho9546061e4738
diff --git a/config.js b/config.js
index 298e575fea..e549669429 100644
--- a/config.js
+++ b/config.js
@@ -1841,9 +1841,6 @@ var config = {
// List of notifications to be disabled. Works in tandem with the above setting.
// disabledNotifications: [],
- // Prevent the filmstrip from autohiding when screen width is under a certain threshold
- // disableFilmstripAutohiding: false,
-
// filmstrip: {
// // Disable the vertical/horizontal filmstrip.
// disabled: false,
diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.ts
index aa0121e725..16ae3ee79d 100644
--- a/react/features/base/config/configType.ts
+++ b/react/features/base/config/configType.ts
@@ -323,7 +323,6 @@ export interface IConfig {
* @deprecated Use `deeplinking.disabled` instead.
*/
disableDeepLinking?: boolean;
- disableFilmstripAutohiding?: boolean;
disableFocus?: boolean;
disableIframeAPI?: boolean;
/**
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index 7b738dc109..cf6592e9e0 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -99,7 +99,6 @@ export default [
'disableDeepLinking',
'disabledNotifications',
'disabledSounds',
- 'disableFilmstripAutohiding',
'disableFocus',
'disableInitialGUM',
'disableInviteFunctions',
diff --git a/react/features/filmstrip/subscriber.web.ts b/react/features/filmstrip/subscriber.web.ts
index 8892802d41..3a8eded805 100644
--- a/react/features/filmstrip/subscriber.web.ts
+++ b/react/features/filmstrip/subscriber.web.ts
@@ -10,7 +10,6 @@ import { LAYOUTS } from '../video-layout/constants';
import { getCurrentLayout, shouldDisplayTileView } from '../video-layout/functions.web';
import { clearStageParticipants,
- setFilmstripVisible,
setHorizontalViewDimensions,
setScreenshareFilmstripParticipant,
setScreensharingTileDimensions,
@@ -18,10 +17,7 @@ import { clearStageParticipants,
setTileViewDimensions,
setVerticalViewDimensions
} from './actions.web';
-import {
- ASPECT_RATIO_BREAKPOINT,
- DISPLAY_DRAWER_THRESHOLD
-} from './constants';
+import { DISPLAY_DRAWER_THRESHOLD } from './constants';
import {
isFilmstripResizable,
isTopPanelEnabled
@@ -131,20 +127,6 @@ StateListenerRegistry.register(
store.dispatch(setNarrowLayout(widthBelowThreshold));
});
-/**
- * Gracefully hide/show the filmstrip when going past threshold.
- */
-StateListenerRegistry.register(
- /* selector */ state => state['features/base/responsive-ui'].videoSpaceWidth < ASPECT_RATIO_BREAKPOINT,
- /* listener */ (widthBelowThreshold, store) => {
- const state = store.getState();
- const { disableFilmstripAutohiding } = state['features/base/config'];
-
- if (!disableFilmstripAutohiding) {
- store.dispatch(setFilmstripVisible(!widthBelowThreshold));
- }
- });
-
/**
* Listens for changes in the filmstrip width to determine the size of the tiles.
*/