UNPKG

@frontify/fondue

Version:
13 lines (12 loc) 289 B
const l = (t, e) => { let r = 0; if (e.current && t.current) { const n = t.current.scrollHeight, { scrollHeight: i, clientHeight: c } = e.current; r = n + (i - c); } return r; }; export { l as getTotalOverlayHeight }; //# sourceMappingURL=getTotalOverlayHeight.es.js.map