Skip to content

🎥 Make videos programmatically with React

stop page from scrolling when dragging children

umungobungod1469e23e662
diff --git a/packages/docs/src/components/Demo/Demo.tsx b/packages/docs/src/components/Demo/Demo.tsx
index e9509e9bc8..c7479bf9ea 100644
--- a/packages/docs/src/components/Demo/Demo.tsx
+++ b/packages/docs/src/components/Demo/Demo.tsx
@@ -65,6 +65,7 @@ export const Demo: React.FC = () => {
borderBottom: '4px solid ' + strokeColor,
borderRadius: 8,
width: '100%',
+ touchAction: 'none', // prevent page from scrolling when dragging children
}}
inputProps={{
theme: colorMode,