@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.js CHANGED
@@ -788,12 +788,12 @@ var useInteractionMode = function () {
788
788
  };
789
789
  if (typeof window !== "undefined") {
790
790
  document.addEventListener("keydown", onKeyDown, true);
791
- document.addEventListener("mousedown", onPointerDown, true);
791
+ document.addEventListener("click", onPointerDown, true);
792
792
  }
793
793
  return function () {
794
794
  if (typeof window !== "undefined") {
795
795
  document.removeEventListener("keydown", onKeyDown);
796
- document.removeEventListener("mousedown", onPointerDown);
796
+ document.removeEventListener("click", onPointerDown);
797
797
  }
798
798
  };
799
799
  }, []);