Skip to content

🎥 Make videos programmatically with React

Keep video matting modal height stable

JonnyBurgeraf78aae45c28
diff --git a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
index 082d8de9ae..c1c77e5993 100644
--- a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
+++ b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
@@ -64,6 +64,7 @@ const modalStyle: React.CSSProperties = {
...outerModalStyle,
height: 'auto',
maxHeight: 'calc(100vh - 40px)',
+ minHeight: outerModalStyle.height,
outline: 'none',
};
const modalLayout: React.CSSProperties = {