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(video-menu) fixed position for horizontal filmstrip view

Calin Chitu036ef0f38777
diff --git a/react/features/filmstrip/components/web/Thumbnail.js b/react/features/filmstrip/components/web/Thumbnail.js
index 5b5313dfb0..241c3f190a 100644
--- a/react/features/filmstrip/components/web/Thumbnail.js
+++ b/react/features/filmstrip/components/web/Thumbnail.js
@@ -671,6 +671,10 @@ class Thumbnail extends Component<Props, State> {
statsPopoverPosition = 'left-start';
tooltipPosition = 'left';
break;
+ case LAYOUTS.HORIZONTAL_FILMSTRIP_VIEW:
+ statsPopoverPosition = 'top';
+ tooltipPosition = 'top';
+ break;
default:
statsPopoverPosition = 'auto';
tooltipPosition = 'top';
diff --git a/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.js b/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.js
index e2f3bf4ba4..9f42db5b19 100644
--- a/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.js
+++ b/react/features/video-menu/components/web/LocalVideoMenuTriggerButton.js
@@ -217,6 +217,9 @@ function _mapStateToProps(state) {
case LAYOUTS.VERTICAL_FILMSTRIP_VIEW:
_menuPosition = 'left-end';
break;
+ case LAYOUTS.HORIZONTAL_FILMSTRIP_VIEW:
+ _menuPosition = 'top';
+ break;
default:
_menuPosition = 'auto';
}
diff --git a/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.js b/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.js
index 28552eb789..72d5e59a17 100644
--- a/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.js
+++ b/react/features/video-menu/components/web/RemoteVideoMenuTriggerButton.js
@@ -390,6 +390,9 @@ function _mapStateToProps(state, ownProps) {
case LAYOUTS.VERTICAL_FILMSTRIP_VIEW:
_menuPosition = 'left-end';
break;
+ case LAYOUTS.HORIZONTAL_FILMSTRIP_VIEW:
+ _menuPosition = 'top';
+ break;
default:
_menuPosition = 'auto';
}