Skip to content

🎥 Make videos programmatically with React

`@remotion/studio`: Fix timeline ticks appearing above modals

Jonny Burger0bf69c489991
diff --git a/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx b/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx
index fd9048c4e8..90a13cea21 100644
--- a/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx
+++ b/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx
@@ -6,6 +6,8 @@ const baseStyle: React.CSSProperties = {
display: 'flex',
flex: 1,
minHeight: '100%',
+ // Keep the sticky ruler and timeline overlays below modals.
+ isolation: 'isolate',
// Clip horizontally without creating a scroll container for the sticky ruler.
overflowX: 'clip',
backgroundColor: TIMELINE_BACKGROUND,