@chakra-ui/event-utils
Advanced tools
Comparing version 0.0.0-dev-20220824082222 to 0.0.0-dev-20220826112743
@@ -77,3 +77,4 @@ "use strict"; | ||
return (event) => { | ||
if (!isMouseEvent || isMouseEvent(event) && event.button === 0) { | ||
const isMouse = isMouseEvent(event); | ||
if (!isMouse || isMouse && event.button === 0) { | ||
cb(event); | ||
@@ -80,0 +81,0 @@ } |
@@ -46,3 +46,4 @@ // src/add-dom-event.ts | ||
return (event) => { | ||
if (!isMouseEvent || isMouseEvent(event) && event.button === 0) { | ||
const isMouse = isMouseEvent(event); | ||
if (!isMouse || isMouse && event.button === 0) { | ||
cb(event); | ||
@@ -49,0 +50,0 @@ } |
{ | ||
"name": "@chakra-ui/event-utils", | ||
"version": "0.0.0-dev-20220824082222", | ||
"version": "0.0.0-dev-20220826112743", | ||
"description": "", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"url": "git+https://github.com/chakra-ui/chakra-ui.git", | ||
"directory": "utilities/number-utils" | ||
"directory": "packages/utilities/number-utils" | ||
}, | ||
@@ -27,0 +27,0 @@ "bugs": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8405
184