@homebound/beam 2.416.3 → 2.416.5

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.cjs CHANGED
@@ -4446,7 +4446,7 @@ function Tooltip(props) {
4446
4446
  ...triggerProps,
4447
4447
  ...!state.isOpen && typeof title === "string" ? { title } : {},
4448
4448
  ...tid,
4449
- css: Css.display("contents").addIn(":active:not(:has(a))", Css.add("pointerEvents", "none").$).$,
4449
+ css: Css.display("contents").$,
4450
4450
  draggable: true,
4451
4451
  onDragStart: (e) => e.preventDefault(),
4452
4452
  children
@@ -9889,6 +9889,7 @@ function Option(props) {
9889
9889
  }
9890
9890
 
9891
9891
  // src/inputs/internal/VirtualizedOptions.tsx
9892
+ var import_interactions = require("@react-aria/interactions");
9892
9893
  var import_react45 = require("react");
9893
9894
  var import_react_virtuoso = require("react-virtuoso");
9894
9895
 
@@ -10140,7 +10141,7 @@ function VirtualizedOptions(props) {
10140
10141
  const selectedItem = state.selectionManager.selectedKeys.size > 0 ? state.collection.getItem([...state.selectionManager.selectedKeys.values()][0]) : void 0;
10141
10142
  (0, import_react45.useEffect)(
10142
10143
  () => {
10143
- if (scrollOnFocus && virtuosoRef.current && focusedItem?.index) {
10144
+ if (!!scrollOnFocus && (0, import_interactions.getInteractionModality)() === "keyboard" && virtuosoRef.current && focusedItem?.index) {
10144
10145
  virtuosoRef.current.scrollToIndex({ index: focusedItem.index, align: "center" });
10145
10146
  }
10146
10147
  },