@landtrustinc/design-system 1.2.75 → 1.2.76

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.
package/dist/index.js CHANGED
@@ -6583,6 +6583,11 @@ var useWidgetScrollLock = (isExpanded, containerRef) => {
6583
6583
  (0, import_react34.useEffect)(() => {
6584
6584
  if (!isExpanded)
6585
6585
  return;
6586
+ const isMobile = window.matchMedia(
6587
+ `(max-width: calc(${screens.lg} - 1px))`
6588
+ ).matches;
6589
+ if (!isMobile)
6590
+ return;
6586
6591
  const scrollY = window.scrollY;
6587
6592
  const html = document.documentElement;
6588
6593
  const originalOverflow = html.style.overflow;