diff --git a/playground/core/style.css b/playground/core/style.css index 73ad9836..dcdfd631 100644 --- a/playground/core/style.css +++ b/playground/core/style.css @@ -36,7 +36,7 @@ body { } */ /* this prevents UI to collapse on scroll */ -html, +/* html, body { overflow: hidden; height: 100%; @@ -45,4 +45,4 @@ body { main { height: 100%; overflow-y: auto; -} +} */ diff --git a/playground/core/test.ts b/playground/core/test.ts index b1b7c7bf..0ecd9de5 100644 --- a/playground/core/test.ts +++ b/playground/core/test.ts @@ -23,8 +23,8 @@ const lenis = new Lenis({ syncTouch: true, // wrapper: document.body, // content: document.querySelector('main'), - wrapper: document.querySelector('main')!, - content: document.querySelector('main')?.children[0], + // wrapper: document.querySelector('main')!, + // content: document.querySelector('main')?.children[0], // autoResize: false, // lerp: 0.9, // virtualScroll: (e) => {