first commit
This commit is contained in:
12
frontend/node_modules/@rc-component/portal/lib/util.js
generated
vendored
Normal file
12
frontend/node_modules/@rc-component/portal/lib/util.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.isBodyOverflowing = isBodyOverflowing;
|
||||
/**
|
||||
* Test usage export. Do not use in your production
|
||||
*/
|
||||
function isBodyOverflowing() {
|
||||
return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth;
|
||||
}
|
||||
Reference in New Issue
Block a user