From f32bcedf92240cc3b00a7bbcd69ccf2d7c1916a2 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Fri, 22 Aug 2025 15:40:19 +0530 Subject: [PATCH] Updated movieing body issue on drawer open close --- src/components/Drawer.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Drawer.astro b/src/components/Drawer.astro index b56b28f..0133cba 100644 --- a/src/components/Drawer.astro +++ b/src/components/Drawer.astro @@ -317,8 +317,8 @@ const sizeProperty = isHorizontal ? "width" : "height"; // Lock scroll if (this.lockScroll) { document.body.style.overflow = "hidden"; - document.body.style.paddingRight = - this.getScrollbarWidth() + "px"; + document.body.style.paddingRight = ""; + // this.getScrollbarWidth() + "px"; } // Show overlay