routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
export function isFixedPosition(el) {
|
||||
while (el) {
|
||||
if (window.getComputedStyle(el).position === 'fixed') {
|
||||
return true;
|
||||
}
|
||||
el = el.offsetParent;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
//# sourceMappingURL=isFixedPosition.js.map
|
||||
Reference in New Issue
Block a user