Updated movieing body issue on drawer open close

This commit is contained in:
2025-08-22 15:40:19 +05:30
parent 5611cb3598
commit f32bcedf92
+2 -2
View File
@@ -317,8 +317,8 @@ const sizeProperty = isHorizontal ? "width" : "height";
// Lock scroll // Lock scroll
if (this.lockScroll) { if (this.lockScroll) {
document.body.style.overflow = "hidden"; document.body.style.overflow = "hidden";
document.body.style.paddingRight = document.body.style.paddingRight = "";
this.getScrollbarWidth() + "px"; // this.getScrollbarWidth() + "px";
} }
// Show overlay // Show overlay