diff --git a/packages/scandipwa/src/component/Overlay/Overlay.component.tsx b/packages/scandipwa/src/component/Overlay/Overlay.component.tsx index 93a5d992be..19329d86b9 100644 --- a/packages/scandipwa/src/component/Overlay/Overlay.component.tsx +++ b/packages/scandipwa/src/component/Overlay/Overlay.component.tsx @@ -35,7 +35,7 @@ export class OverlayComponent

(); - YoffsetWhenScrollDisabled = window.pageYOffset || document.body.scrollTop; + YoffsetWhenScrollDisabled = 0; componentDidUpdate(prevProps: P): void { const prevWasVisible = this.getIsVisible(prevProps); @@ -91,6 +91,7 @@ export class OverlayComponent