|
@@ -1350,9 +1350,9 @@ 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';
|
|
|
+ let htmlDom = document.querySelector('html');
|
|
|
+ if(htmlDom) {
|
|
|
+ htmlDom.style.overflowY = 'hidden';
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1365,9 +1365,9 @@ 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';
|
|
|
+ let htmlDom = document.querySelector('html');
|
|
|
+ if(htmlDom) {
|
|
|
+ htmlDom.style.overflowY = 'auto';
|
|
|
}
|
|
|
}
|
|
|
}
|