Nuget update bootstrap (disruptive)

This commit is contained in:
Samuele E. Locatelli
2019-12-31 09:56:39 +01:00
parent 7d809aeb97
commit 623eff13a0
122 changed files with 40029 additions and 9343 deletions
@@ -0,0 +1,11 @@
import getOffsetParent from './getOffsetParent';
export default function isOffsetContainer(element) {
const { nodeName } = element;
if (nodeName === 'BODY') {
return false;
}
return (
nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element
);
}