Skip to content

🎥 Make videos programmatically with React

Add scrollbar-gutter: stable to studio scroll containers

Jonny Burger6a5395705892
diff --git a/packages/bundler/src/setup-environment.ts b/packages/bundler/src/setup-environment.ts
index d414fcfa61..97c820ef13 100644
--- a/packages/bundler/src/setup-environment.ts
+++ b/packages/bundler/src/setup-environment.ts
@@ -85,6 +85,9 @@ injectCSS(`
color: #0584f2
}
+ .__remotion-vertical-scrollbar {
+ scrollbar-gutter: stable;
+ }
.__remotion-vertical-scrollbar::-webkit-scrollbar {
width: 6px;
}
@@ -99,6 +102,9 @@ injectCSS(`
}
+ .__remotion-horizontal-scrollbar {
+ scrollbar-gutter: stable;
+ }
.__remotion-horizontal-scrollbar::-webkit-scrollbar {
height: 6px;
}