@underverse-ui/underverse 1.0.110 → 1.0.111

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
@@ -7240,7 +7240,7 @@ var Combobox = ({
7240
7240
  useShadCNAnimations();
7241
7241
  const inputRef = React24.useRef(null);
7242
7242
  const optionsViewportRef = React24.useRef(null);
7243
- useOverlayScrollbarTarget(optionsViewportRef, { enabled: useOverlayScrollbar && !virtualized });
7243
+ useOverlayScrollbarTarget(optionsViewportRef, { enabled: open && useOverlayScrollbar && !virtualized });
7244
7244
  const autoId = useId6();
7245
7245
  const resolvedId = id ? String(id) : `combobox-${autoId}`;
7246
7246
  const labelId = label ? `${resolvedId}-label` : void 0;
@@ -15578,7 +15578,7 @@ var MultiCombobox = ({
15578
15578
  const inputRef = React39.useRef(null);
15579
15579
  const listRef = React39.useRef([]);
15580
15580
  const optionsListRef = React39.useRef(null);
15581
- useOverlayScrollbarTarget(optionsListRef, { enabled: useOverlayScrollbar && !virtualized });
15581
+ useOverlayScrollbarTarget(optionsListRef, { enabled: open && useOverlayScrollbar && !virtualized });
15582
15582
  const triggerRef = React39.useRef(null);
15583
15583
  useShadCNAnimations();
15584
15584
  const normalizedOptions = React39.useMemo(