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