|
@@ -1349,6 +1349,11 @@ export const showPopupPage = (params = {}) => {
|
|
|
|
|
|
let overlay = document.getElementById('de-popup-overlay');
|
|
|
overlay.style.display = 'block';
|
|
|
+
|
|
|
+ let body = document.querySelector('body');
|
|
|
+ if(body) {
|
|
|
+ body.style.overflowY = 'hidden';
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1359,6 +1364,11 @@ export const hidePopupPage = () => {
|
|
|
|
|
|
let overlay = document.getElementById('de-popup-overlay');
|
|
|
overlay.style.display = 'none';
|
|
|
+
|
|
|
+ let body = document.querySelector('body');
|
|
|
+ if(body) {
|
|
|
+ body.style.overflowY = 'auto';
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|