@julseb-lib/react 1.1.9 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Image
3
- } from "./chunk-VA7LFHRP.js";
3
+ } from "./chunk-IFVYNP3I.js";
4
4
 
5
5
  // src/lib/components/LazyImage/Image.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -11,4 +11,4 @@ var Image_default = Image2;
11
11
  export {
12
12
  Image_default as default
13
13
  };
14
- //# sourceMappingURL=Image-MFX5A7HO.js.map
14
+ //# sourceMappingURL=Image-CV2LVZZD.js.map
@@ -1440,6 +1440,9 @@ function disableScroll() {
1440
1440
  window.scrollY.toString()
1441
1441
  );
1442
1442
  document.body.style.overflow = "hidden";
1443
+ document.body.style.height = "100vh";
1444
+ const scrollPosition = window.scrollY;
1445
+ document.body.style.top = `-${scrollPosition}px`;
1443
1446
  }
1444
1447
  }
1445
1448
 
@@ -2071,4 +2074,4 @@ export {
2071
2074
  scrollToTop,
2072
2075
  Image
2073
2076
  };
2074
- //# sourceMappingURL=chunk-VA7LFHRP.js.map
2077
+ //# sourceMappingURL=chunk-IFVYNP3I.js.map