package.lib.util.isFixedPosition.mjs Maven / Gradle / Ivy
export function isFixedPosition(el) {
while (el) {
if (window.getComputedStyle(el).position === 'fixed') {
return true;
}
el = el.offsetParent;
}
return false;
}
//# sourceMappingURL=isFixedPosition.mjs.map