diff --git a/bigbluebutton-html5/imports/ui/components/layout/layout-manager/customLayout.jsx b/bigbluebutton-html5/imports/ui/components/layout/layout-manager/customLayout.jsx index 24dac6fced..837162918a 100644 --- a/bigbluebutton-html5/imports/ui/components/layout/layout-manager/customLayout.jsx +++ b/bigbluebutton-html5/imports/ui/components/layout/layout-manager/customLayout.jsx @@ -6,6 +6,7 @@ import { INITIAL_INPUT_STATE } from '/imports/ui/components/layout/initState'; import { ACTIONS, CAMERADOCK_POSITION, PANELS } from '../enums'; import Storage from '/imports/ui/services/storage/session'; import { isPresentationEnabled } from '/imports/ui/services/features'; +import Draggable from 'react-draggable'; const windowWidth = () => window.document.documentElement.clientWidth; const windowHeight = () => window.document.documentElement.clientHeight; @@ -645,7 +646,7 @@ const CustomLayout = (props) => { left: cameraDockBounds.left, right: cameraDockBounds.right, tabOrder: 4, - isDraggable: !isMobile && !isTablet, + isDraggable: !isMobile && !isTablet && presentationInput.isOpen, resizableEdge: { top: (input.cameraDock.position === CAMERADOCK_POSITION.CONTENT_BOTTOM) || (input.cameraDock.position === CAMERADOCK_POSITION.SIDEBAR_CONTENT_BOTTOM