Updated movieing body issue on drawer open close
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user