@arc-ui/components 6.2.0 → 6.3.0

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.es.js CHANGED
@@ -780,12 +780,12 @@ var useInteractionMode = function () {
780
780
  };
781
781
  if (typeof window !== "undefined") {
782
782
  document.addEventListener("keydown", onKeyDown, true);
783
- document.addEventListener("mousedown", onPointerDown, true);
783
+ document.addEventListener("click", onPointerDown, true);
784
784
  }
785
785
  return function () {
786
786
  if (typeof window !== "undefined") {
787
787
  document.removeEventListener("keydown", onKeyDown);
788
- document.removeEventListener("mousedown", onPointerDown);
788
+ document.removeEventListener("click", onPointerDown);
789
789
  }
790
790
  };
791
791
  }, []);